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 [126.96.36.199] on retry: 1 error(s) occurred:\n\n* Failed to join 188.8.131.52: dial tcp 184.108.40.206:7946: getsockopt: connection refused”