I am running several containers and from one of them I try to reach the server, where the whole system is deployed.
Container X is the container who try to reach 188.8.131.52 ip address (ip address where Container X is running) with curl -> timeout
Container X is the container who try to reach 184.108.40.206 ip address (random ip) -> curl successful
Container X can reach everything, but the self running Container X
I have no idea what’s going on. When I run this compose file from local, I can reach the server. Problem only occurs, when it try to reach itself.
So in other words, you’re trying to reach container X from inside container X using its host facing IP.
i am using docker-compose.
Please help me.