I am trying to configure my Docker Swarm Cluster and need to have the following ports open so that my cluster can communicate and operate correctly:

  • TCP port 2377
  • TCP port and UDP port 7946
  • UDP port 4789

How do I open these ports?

I believe this is the issue that are causing my worker node to be DOWN

  • 1
    Typing sudo iptables --list will show you the open ports. From what I have read here and here, the raspberry Pi does not have any firewall rules in place by default, so the problem is more likey to be with the other devices in question.
    – otoomey
    Commented Jul 26, 2017 at 21:49
  • Thank you, yes you're right after looking I found that my two docker nodes were connected to two different networks...
    – ob1
    Commented Jul 26, 2017 at 21:55
  • 1
    So the correct answer is: "connect them to the same network"... ;)
    – TheDiveO
    Commented Jul 27, 2017 at 17:30
  • Haha Yes it is 😅
    – ob1
    Commented Jul 27, 2017 at 17:41


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.