By default the containers are bound to 0.0.0.0 which means they could be reached from outside the container host. When running local this is not an issue but when running on a VPS then some services could be directly reached which causes a security issue.
By default the containers are bound to
0.0.0.0
which means they could be reached from outside the container host. When running local this is not an issue but when running on a VPS then some services could be directly reached which causes a security issue.There are few solutions:
127.0.0.1
0.0.0.0
vs127.0.0.1