Relative Content

Tag Archive for dockernetworkingcontainers

Docker Container to container communication not working. Specifically through ports

For context I am working in a multi tenant server which means I encounter file permission errors frequently, i’m not sure if contributes to my issue though. So going into my problem, my docker containers suddenly stopped being able to communicate with each other. There all on the same custom network, and hence I take advantage of the automatic DNS. I can confirm communication works by using ping, which successfully transmits packets. I then confirmed that containers weren’t able to access each others ports that they were listening to by using nc -zv alias port. I receive a connection timed out error. The odd part is that I am able to access the ports from the host to the container from python, but not from container to container. I am open to all suggestions. Thank you.