Tools › Networking › Common Port Numbers
🔌
Common Port Numbers
Look up which service uses which port. Search by number or by service name.
| Port | Protocol | Service |
|---|---|---|
| 20 | TCP | FTP data |
| 21 | TCP | FTP control |
| 22 | TCP | SSH, SFTP |
| 23 | TCP | Telnet (unencrypted, avoid) |
| 25 | TCP | SMTP mail transfer |
| 53 | TCP/UDP | DNS |
| 67 | UDP | DHCP server |
| 68 | UDP | DHCP client |
| 69 | UDP | TFTP |
| 80 | TCP | HTTP |
| 110 | TCP | POP3 |
| 123 | UDP | NTP time sync |
| 143 | TCP | IMAP |
| 161 | UDP | SNMP |
| 389 | TCP | LDAP |
| 443 | TCP | HTTPS |
| 465 | TCP | SMTPS (implicit TLS) |
| 514 | UDP | Syslog |
| 587 | TCP | SMTP mail submission |
| 636 | TCP | LDAPS |
| 993 | TCP | IMAPS |
| 995 | TCP | POP3S |
| 1433 | TCP | Microsoft SQL Server |
| 1521 | TCP | Oracle Database |
| 2049 | TCP/UDP | NFS |
| 3306 | TCP | MySQL / MariaDB |
| 3389 | TCP | Remote Desktop (RDP) |
| 5432 | TCP | PostgreSQL |
| 5672 | TCP | RabbitMQ (AMQP) |
| 5900 | TCP | VNC |
| 6379 | TCP | Redis |
| 8080 | TCP | HTTP alternate / proxies |
| 8443 | TCP | HTTPS alternate |
| 9200 | TCP | Elasticsearch |
| 11211 | TCP/UDP | Memcached |
| 27017 | TCP | MongoDB |
| 51820 | UDP | WireGuard VPN |
How it works
Ports 0-1023 are "well-known" ports assigned by IANA to core services. Ports 1024-49151 are registered, and 49152-65535 are dynamic ports used for temporary outgoing connections. A service can run on any port, so this list shows the defaults.
When exposing a server, open only the ports you need and prefer encrypted variants (SSH over Telnet, HTTPS over HTTP, IMAPS over IMAP).
Frequently asked questions
What port does SSH use?
TCP port 22 by default.
What is the difference between TCP and UDP ports?
They are separate port spaces. TCP is connection-oriented and reliable; UDP is connectionless and used by DNS, NTP, DHCP and VPNs such as WireGuard.
Should I change the default SSH port?
It reduces log noise from automated scans but is not real security. Key-only authentication and a firewall matter far more.
More tools
🌐 IPv4 Subnet (CIDR) Calculator📶 File Transfer Time Calculator🧮 IPv4 Address Converter✂️ Subnet Splitter⏱️ Cron Expression Explainer🔐 Chmod Calculator🕒 Unix Timestamp Converter🔑 Password Generator{ } JSON Formatter & Validator🔤 Base64 Encode / Decode🆔 UUID Generator🔗 URL Encode / DecodeAll Networking tools →