Common port lookup
Search well-known TCP and UDP port numbers and the services that use them.
Runs on your device · nothing is uploaded
| Port | Protocol | Service | Notes |
|---|
Ports in one minute
An IP address gets traffic to the right device; a port number gets it to the right application on that device. Well-known ports run from 0 to 1023 and are reserved for standard services such as SSH (22), DNS (53) and HTTPS (443).
When you write firewall rules, allow only the ports a service really needs, and never expose management ports such as RDP (3389), SMB (445) or Telnet (23) directly to the internet.
Common ports to know
| Port | Protocol | Service |
|---|---|---|
| 20, 21 | TCP | FTP (data, control) |
| 22 | TCP | SSH and SFTP |
| 23 | TCP | Telnet (unencrypted; avoid) |
| 25 | TCP | SMTP (email between servers) |
| 53 | UDP and TCP | DNS |
| 67, 68 | UDP | DHCP (server, client) |
| 80 | TCP | HTTP |
| 123 | UDP | NTP |
| 161, 162 | UDP | SNMP (queries, traps) |
| 389, 636 | TCP | LDAP, LDAP over TLS |
| 443 | TCP (and UDP for HTTP/3) | HTTPS |
| 445 | TCP | SMB file sharing |
| 514 | UDP | Syslog |
| 993, 995 | TCP | IMAP and POP3 over TLS |
| 3389 | TCP | Remote Desktop (RDP) |
The three port ranges
- 0–1023, well-known: standard services.
- 1024–49151, registered: specific applications, such as 3306 for MySQL.
- 49152–65535, dynamic: temporary source ports your computer picks for outgoing connections.
Check which ports are open
- Windows:
netstat -an, orTest-NetConnection server -Port 443in PowerShell. - Linux:
ss -tulnlists listening ports. - From outside: only scan systems you own or have written permission to test.
Exam tip: CCNA and Security+ both expect you to know the common ports by heart. Our flashcards and the TCP and UDP ports note help.