Cheat sheet
Common ports cheat sheet
The well-known TCP and UDP ports in one table, each linked to what runs on it.
Port, transport, service
| Port | Also | Transport | Service |
|---|---|---|---|
| 21 | 20 | TCP | FTP |
| 22 | TCP | SSH | |
| 25 | 587 | TCP | SMTP |
| 53 | 853 | UDP and TCP | DNS |
| 67 | 68 | UDP | DHCP |
| 69 | UDP | TFTP | |
| 80 | TCP | HTTP | |
| 123 | UDP | NTP | |
| 143 | 993 | TCP | IMAP |
| 161 | 162 | UDP | SNMP |
| 179 | TCP | BGP | |
| 389 | 636 | TCP | LDAP |
| 443 | TCP and UDP | HTTPS | |
| 445 | TCP | SMB | |
| 500 | 4500 | UDP | IKE (IPsec) |
| 514 | 6514 | UDP | Syslog |
| 520 | UDP | RIP | |
| 1812 | 1813 | UDP | RADIUS |
| 3389 | TCP | RDP | |
| 4789 | UDP | VXLAN | |
| 5060 | 5061 | UDP and TCP | SIP |
How to read it
- The port is where the server listens. The client's own port is a high number its system picks for each connection.
- "Also" lists the ports explained on the same page: the client's side, or the same service inside TLS.
- Ports 0 to 1023 are the system ports; IANA keeps the registry of who has which (RFC 6335).
Each number links to its page: what runs on it, the standard behind it and the commands that check it. Start with what a port is or the difference between TCP and UDP.