Replies: 10 comments 2 replies
|
@hywax you can use the firewall and restrict the port 3000 |
|
@Siumauricio Then what if the condition when the vps I use does not have a firewall that is managed for free so I have to configure it through ufw. But after I closed the port and only opened for port 22, 80 and 443, ufw does not work with docker so port 3000 is still accessible. The result is that the domain and ip:port are both accessible, not just the domain that should be accessible. do you have any suggestions for me? |
|
I have same question. After check, I consider it maybe docker and ufw are conflcting for port control. It need to change rules of iptables. Do you have better way to control it by using ufw directly? Also for all compose services have same question. @Siumauricio |
|
Is there an update on this? Are we forced to use the firewall? |
|
You can remove the published port with This will update the swarm service and automatically recreate the container. I have not had the opportunity to see whether an update resets it, but probably not. |
|
@schummar I just tested this. Updates do not reset it. This is the way. |
|
@schummar I used this command. It works for me. Thanks!!! |
|
We added docs for removing the 3000 port in your dokploy instance https://docs.dokploy.com/docs/core/installation#disable-access-via-ipport-optional-but-recommended |
|
Hey @Siumauricio, is there a way to use 127.0.0.1 instead of 0.0.0.0 as host? I don't want to remove port 3000 completely as it can allow me to access the server via tailscale |

Uh oh!
There was an error while loading. Please reload this page.
After domain binding I would like to disable access directly by ip. How can I do that? I have not found such a point in the documentation
All reactions