Skip to main content

Network and Firewall Ports

PortProtocolPurpose
80TCPHTTP and certificate validation
443TCPHTTPS
3000TCPInitial dashboard setup
996TCPSelf-hosted registry, if enabled
22TCPSSH, or your configured SSH port
2377TCPSwarm management
7946TCP/UDPSwarm node communication
4789UDPSwarm overlay traffic
  • Only SSH, 80, 443, and 3000 are relevant to initial single-node setup.
  • Restrict Swarm ports to trusted cluster nodes and 3000 after dashboard HTTPS setup.
  • App-specific published TCP/UDP ports require their own access rules.
  • Custom host ports: CAPTAIN_HOST_HTTP_PORT, CAPTAIN_HOST_HTTPS_PORT, and CAPTAIN_HOST_ADMIN_PORT. See Server Environment.