Docker Community Forums

Share and learn in the Docker community.

Port Ingress not open


(Cristhianbicca) #1

Docker version 17.06.0-ce
Personally, I have a swarm cluster where I have 1 manager and 5 workers. I am having trouble connecting to services that are within the same network. When I ping a container that is on the same network as the other container, I get the following error:

[root]$ ping mymongo
ping: unknown host

When running a netstat -nltp on the server manager I realize that the only port that is open is the 2377.

On worker servers I get the following error in the logs:

level=error msg=“Failed to join memberlist [192.192.0.2] on retry: 1 error(s) occurred:\n\n* Failed to join 192.192.0.2: dial tcp 192.192.0.2:7946: getsockopt: connection refused”