Tools / reference
TCP / UDP ports
A compact reference for common services and the transport protocols they use.
| 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 remote shell and secure file transfer. |
| 23 | TCP | Telnet | Unencrypted remote terminal protocol. |
| 25 | TCP | SMTP | Mail transfer between servers. |
| 49 | TCP | TACACS+ | Centralized device administration authentication. |
| 53 | TCP | DNS | DNS zone transfer and responses that use TCP. |
| 53 | UDP | DNS | Common DNS query and response transport. |
| 67 | UDP | DHCP server | Dynamic Host Configuration Protocol server. |
| 68 | UDP | DHCP client | Dynamic Host Configuration Protocol client. |
| 69 | UDP | TFTP | Trivial File Transfer Protocol. |
| 80 | TCP | HTTP | Unencrypted web traffic. |
| 123 | UDP | NTP | Network Time Protocol. |
| 143 | TCP | IMAP | Internet Message Access Protocol. |
| 161 | UDP | SNMP | Network management queries and responses. |
| 162 | UDP | SNMP trap | Network management notifications. |
| 179 | TCP | BGP | Border Gateway Protocol peer sessions. |
| 389 | TCP | LDAP | Lightweight Directory Access Protocol. |
| 443 | TCP | HTTPS | TLS-protected web traffic. |
| 445 | TCP | SMB | Server Message Block file and printer sharing. |
| 500 | UDP | IKE | Internet Key Exchange for IPsec VPNs. |
| 514 | UDP | Syslog | Common syslog message transport. |
| 636 | TCP | LDAPS | LDAP over TLS. |
| 1812 | UDP | RADIUS authentication | RADIUS authentication and authorization. |
| 1813 | UDP | RADIUS accounting | RADIUS accounting messages. |
| 3306 | TCP | MySQL | Common MySQL client/server transport. |
| 3389 | TCP | RDP | Remote Desktop Protocol. |
| 5432 | TCP | PostgreSQL | Common PostgreSQL client/server transport. |
| 8080 | TCP | HTTP alternate | Common alternate HTTP or application port. |
| 8443 | TCP | HTTPS alternate | Common alternate TLS web port. |
Port assignments can vary by implementation and configuration. Verify firewall requirements against the service documentation in your environment.