TCP/UDP Port Reference
Common TCP and UDP port numbers for network protocols. Ports are assigned by IANA and published in the official Service Name and Transport Protocol Port Number Registry.
Port Number Ranges
- Well-known (0–1023): assigned to system services.
- Registered (1024–49151): assignable to applications by IANA.
- Dynamic/Private (49152–65535): ephemeral source ports used by clients.
| Port | Protocol | Service | Description |
|---|---|---|---|
| 20 | TCP | FTP Data | File Transfer Protocol data channel |
| 21 | TCP | FTP Control | File Transfer Protocol control channel |
| 22 | TCP | SSH | Secure Shell remote login and file transfer (SFTP) |
| 23 | TCP | Telnet | Unencrypted remote login (deprecated) |
| 25 | TCP | SMTP | Simple Mail Transfer Protocol — mail submission/relay (plaintext) |
| 53 | TCP/UDP | DNS | Domain Name System. UDP for queries, TCP for zone transfers and large responses |
| 67 | UDP | DHCP Server | DHCP server-to-client (DHCPOFFER, DHCPACK) |
| 68 | UDP | DHCP Client | DHCP client-to-server (DHCPDISCOVER, DHCPREQUEST) |
| 69 | UDP | TFTP | Trivial File Transfer Protocol |
| 80 | TCP | HTTP | Hypertext Transfer Protocol |
| 110 | TCP | POP3 | Post Office Protocol v3 (plaintext) |
| 123 | UDP | NTP | Network Time Protocol |
| 143 | TCP | IMAP | Internet Message Access Protocol (plaintext) |
| 161 | UDP | SNMP | Simple Network Management Protocol — agent queries |
| 162 | UDP | SNMP Trap | SNMP traps (notifications from agent to manager) |
| 179 | TCP | BGP | Border Gateway Protocol |
| 194 | TCP | IRC | Internet Relay Chat |
| 389 | TCP/UDP | LDAP | Lightweight Directory Access Protocol (plaintext) |
| 443 | TCP | HTTPS | HTTP over TLS/SSL |
| 445 | TCP | SMB | Server Message Block / CIFS file sharing |
| 465 | TCP | SMTPS | SMTP over implicit TLS (SMTP submission, legacy) |
| 500 | UDP | ISAKMP / IKE | IPsec Internet Key Exchange (phase 1) |
| 514 | UDP | Syslog | Syslog remote logging |
| 520 | UDP | RIP | Routing Information Protocol |
| 587 | TCP | SMTP Submission | Mail submission with STARTTLS (RFC 6409) |
| 636 | TCP | LDAPS | LDAP over TLS/SSL |
| 646 | TCP/UDP | LDP | MPLS Label Distribution Protocol |
| 873 | TCP | rsync | Remote file synchronization |
| 993 | TCP | IMAPS | IMAP over TLS/SSL |
| 995 | TCP | POP3S | POP3 over TLS/SSL |
| 1701 | UDP | L2TP | Layer 2 Tunneling Protocol |
| 1723 | TCP | PPTP | Point-to-Point Tunneling Protocol control |
| 1812 | UDP | RADIUS Auth | RADIUS authentication and authorization |
| 1813 | UDP | RADIUS Acct | RADIUS accounting |
| 2049 | TCP/UDP | NFS | Network File System |
| 3389 | TCP | RDP | Microsoft Remote Desktop Protocol |
| 3478 | UDP | STUN/TURN | NAT traversal for WebRTC |
| 4500 | UDP | IPsec NAT-T | IPsec NAT Traversal |
| 5060 | TCP/UDP | SIP | Session Initiation Protocol (plaintext) |
| 5061 | TCP | SIP TLS | SIP over TLS |
| 5353 | UDP | mDNS | Multicast DNS (Bonjour, Avahi) |
| 5900 | TCP | VNC | Virtual Network Computing (display :0) |
Notes
DNS (port 53) uses UDP for standard queries but falls back to TCP for zone transfers and when a response exceeds 512 bytes (or when EDNS0 is not in use). DHCP uses UDP 67 on the server side and UDP 68 on the client side. SNMP uses UDP 161 for polling and UDP 162 for unsolicited traps.
SMTP historically used port 25 for both submission and relay; modern mail clients submit over port 587 with STARTTLS (RFC 6409) or port 465 with implicit TLS. Port 25 is now reserved for server-to-server relay.
Related Tools
- IP Access List Generator — build named or numbered ACLs including port-based rules.
- Cisco ACL Builder — generate extended ACL entries with protocol and port matching.
Technically Reviewed By
Senior Enterprise Network Engineer — 25+ years of IT and network infrastructure experience, including enterprise Cisco switching, routing, wireless, firewalls, VPN, network access control, SD-WAN, and large-scale network operations.
Last reviewed: 2026-09-02
Calculations are performed using standards-based formulas and verified against known reference values. All computation runs client-side in your browser.