Reference table

Common ports and protocols

Port numbers are assigned by IANA. A service can run on any port; these are the defaults.

Common ports and protocols
PortTransportServiceNotes
20, 21TCPFTP data, controlUnencrypted; prefer SFTP or FTPS
22TCPSSH, SFTP, SCPEncrypted remote administration
23TCPTelnetUnencrypted; disable on network devices
25TCPSMTPServer-to-server mail relay
49TCPTACACS+Device administration AAA
53TCP/UDPDNSTCP for zone transfers and large responses
67, 68UDPDHCP server, client
69UDPTFTPDevice firmware and configuration loading
80TCPHTTP
88TCP/UDPKerberosActive Directory authentication
110TCPPOP3Unencrypted; 995 for POP3S
123UDPNTPTime synchronization
135TCPMicrosoft RPC endpoint mapper
137–139TCP/UDPNetBIOSLegacy Windows networking
143TCPIMAPUnencrypted; 993 for IMAPS
161, 162UDPSNMP, SNMP trapsUse SNMPv3 for authentication and encryption
389TCP/UDPLDAP636 for LDAPS
443TCP (UDP for HTTP/3)HTTPS
445TCPSMBWindows file sharing; never expose to the internet
465TCPSMTP submission over TLSImplicit TLS
500, 4500UDPIKE, IPsec NAT traversalSite-to-site and remote access VPN
514UDPSyslog6514/TCP for syslog over TLS
554TCP/UDPRTSPVideo streaming, including IP cameras
587TCPSMTP submissionSTARTTLS
636TCPLDAPSLDAP over TLS
853TCPDNS over TLS
902TCP/UDPVMware ESXi host management
993TCPIMAPS
995TCPPOP3S
1194UDPOpenVPNDefault; often moved
1433TCPMicrosoft SQL Server
1521TCPOracle database listener
1812, 1813UDPRADIUS authentication, accounting802.1X and VPN authentication
2049TCP/UDPNFS
3268, 3269TCPActive Directory global catalog3269 over TLS
3306TCPMySQL, MariaDB
3389TCP/UDPRemote Desktop (RDP)Never expose directly to the internet
5060, 5061TCP/UDPSIP, SIP over TLSVoIP signaling
5432TCPPostgreSQL
5985, 5986TCPWinRM HTTP, HTTPSPowerShell remoting
8080, 8443TCPAlternate HTTP, HTTPSCommon for management interfaces
51820UDPWireGuardDefault; configurable

Source: IANA Service Name and Transport Protocol Port Number Registry.

Related tools