Reference table
Common ports and protocols
Port numbers are assigned by IANA. A service can run on any port; these are the defaults.
| Port | Transport | Service | Notes |
|---|---|---|---|
| 20, 21 | TCP | FTP data, control | Unencrypted; prefer SFTP or FTPS |
| 22 | TCP | SSH, SFTP, SCP | Encrypted remote administration |
| 23 | TCP | Telnet | Unencrypted; disable on network devices |
| 25 | TCP | SMTP | Server-to-server mail relay |
| 49 | TCP | TACACS+ | Device administration AAA |
| 53 | TCP/UDP | DNS | TCP for zone transfers and large responses |
| 67, 68 | UDP | DHCP server, client | |
| 69 | UDP | TFTP | Device firmware and configuration loading |
| 80 | TCP | HTTP | |
| 88 | TCP/UDP | Kerberos | Active Directory authentication |
| 110 | TCP | POP3 | Unencrypted; 995 for POP3S |
| 123 | UDP | NTP | Time synchronization |
| 135 | TCP | Microsoft RPC endpoint mapper | |
| 137–139 | TCP/UDP | NetBIOS | Legacy Windows networking |
| 143 | TCP | IMAP | Unencrypted; 993 for IMAPS |
| 161, 162 | UDP | SNMP, SNMP traps | Use SNMPv3 for authentication and encryption |
| 389 | TCP/UDP | LDAP | 636 for LDAPS |
| 443 | TCP (UDP for HTTP/3) | HTTPS | |
| 445 | TCP | SMB | Windows file sharing; never expose to the internet |
| 465 | TCP | SMTP submission over TLS | Implicit TLS |
| 500, 4500 | UDP | IKE, IPsec NAT traversal | Site-to-site and remote access VPN |
| 514 | UDP | Syslog | 6514/TCP for syslog over TLS |
| 554 | TCP/UDP | RTSP | Video streaming, including IP cameras |
| 587 | TCP | SMTP submission | STARTTLS |
| 636 | TCP | LDAPS | LDAP over TLS |
| 853 | TCP | DNS over TLS | |
| 902 | TCP/UDP | VMware ESXi host management | |
| 993 | TCP | IMAPS | |
| 995 | TCP | POP3S | |
| 1194 | UDP | OpenVPN | Default; often moved |
| 1433 | TCP | Microsoft SQL Server | |
| 1521 | TCP | Oracle database listener | |
| 1812, 1813 | UDP | RADIUS authentication, accounting | 802.1X and VPN authentication |
| 2049 | TCP/UDP | NFS | |
| 3268, 3269 | TCP | Active Directory global catalog | 3269 over TLS |
| 3306 | TCP | MySQL, MariaDB | |
| 3389 | TCP/UDP | Remote Desktop (RDP) | Never expose directly to the internet |
| 5060, 5061 | TCP/UDP | SIP, SIP over TLS | VoIP signaling |
| 5432 | TCP | PostgreSQL | |
| 5985, 5986 | TCP | WinRM HTTP, HTTPS | PowerShell remoting |
| 8080, 8443 | TCP | Alternate HTTP, HTTPS | Common for management interfaces |
| 51820 | UDP | WireGuard | Default; configurable |
Source: IANA Service Name and Transport Protocol Port Number Registry.