Docker Community Forums

Share and learn in the Docker community.

Unable to have swarm nodes join master node

Hello everyone, hopefully this is the correct place to post this issue. Im having difficutly having my docker swarm nodes to my master node.
for the master I’m using my M1 Mac mini and for then end nodes their two Ubuntu 20.04.2’s running on my server. When I attempt to do the join command on either of the two end nodes I get the error Error response from daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp connect: connection refused"
ufw isn’t running on either of the nodes and firewall is turned off on my Mac.
Any suggestions?