Guides

Cheat Sheet: Ports and Protocols

The ports you encounter most often in a home network and homelab. A port is the number on which a service listens; it’s usually TCP, sometimes UDP (indicated). Use the button to print or save as pdf. Search by name in our Port list tool, and test if a port is open with the port checker.

Network

22 SSH (remote login)
53 DNS (TCP and UDP)
67, 68 DHCP (UDP)
123 NTP, time synchronization (UDP)
161 SNMP, network device management (UDP)
5353 mDNS, device discovery (UDP)
1900 SSDP / UPnP (UDP)
51820 WireGuard, default port (UDP)
1194 OpenVPN, default port (UDP)

Web

80 HTTP
443 HTTPS
8080 HTTP, alternative (many web interfaces)
8443 HTTPS, alternative

Email

25 SMTP between mail servers
465, 587 SMTP for sending (encrypted)
143, 993 IMAP (993 is encrypted)
110, 995 POP3 (995 is encrypted)

Files and storage

445 SMB / Windows file sharing
2049 NFS
21 FTP (unencrypted)
873 rsync daemon
8384, 22000 Syncthing (web interface, synchronization)

Databases

3306 MySQL and MariaDB
5432 PostgreSQL
6379 Redis
27017 MongoDB

Remote access

3389 Windows Remote Desktop (RDP)
5900 VNC

Smart home and making

1883 MQTT (unencrypted)
8883 MQTT with TLS
8123 Home Assistant
6053 ESPHome, connection with Home Assistant
1880 Node-RED

Commonly used homelab programs

8096 Jellyfin
32400 Plex
2283 Immich
3001 Uptime Kuma
9443 Portainer (HTTPS)
81 Nginx Proxy Manager, management
3000 AdGuard Home, installation (and many other web programs)
8006 Proxmox VE, web interface (HTTPS)
9090 Prometheus

Ports below 1024 are “well-known” ports; the rest can be freely chosen and may differ per program. The default port can be adjusted in the settings. A port that you forward on your router to the internet is a risk: only open what’s really necessary and preferably use a vpn.