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