2377Port
TCPProtocol
swarmIANA service nameDevOps & dev serversCategory
Port range
2377 is a registered port (range 1024–49151). Any user can bind to it; IANA records which service registered the number.
Security
Only open port 2377 to the hosts that need it. Prefer the encrypted variant of the protocol where one exists.
Open port 2377 in a firewall
ufw sudo ufw allow 2377/tcp iptables sudo iptables -A INPUT -p tcp --dport 2377 -j ACCEPT firewalld sudo firewall-cmd --permanent --add-port=2377/tcp Windows New-NetFirewallRule -DisplayName "Docker Swarm 2377" -Direction Inbound -Protocol TCP -LocalPort 2377 -Action Allow
Check if port 2377 is open
nc -vz example.com 2377 Test-NetConnection example.com -Port 2377 # PowerShell sudo ss -tulpn | grep ':2377 ' # what is listening locally (Linux)