Unable to access swarm services from other node ip via routing mesh

I believe the ports are the issue, how can I resolve this? I think two issues occur: 1. 2377 isn’t open on my second node, and 2. I think tcp6 means they only run ipv6 networks (?), and I don’t think docker swarm can use ipv6.

node@cluster-1:~ $ sudo netstat -tuln | grep -E ':(2377|7946|4789)\s'
tcp6       0      0 :::7946                 :::*                    LISTEN
tcp6       0      0 :::2377                 :::*                    LISTEN
udp        0      0 0.0.0.0:4789            0.0.0.0:*
udp6       0      0 :::7946                 :::*

node@cluster-2:~ $ sudo netstat -tuln | grep -E ':(2377|7946|4789)\s'
tcp6       0      0 :::7946                 :::*                    LISTEN
udp        0      0 0.0.0.0:4789            0.0.0.0:*
udp6       0      0 :::7946                 :::*

To resolve 2377 not being open, can I just run sudo iptables -A INPUT -p tcp --dport 2377 -j ACCEPT?
nevermind, the second node isn’t a manager so it’s not needed :slight_smile:

The other issues seem to not be the case:

  • mtu is 1500 on both
  • they share a 1gig connection
  • not running on vms
  • checksum is off, still doesn’t work