Common Ports Lookup
Search common TCP/UDP ports and the services that use them.
Testing Port: 22 (SSH)
Nmap Scan Command
nmap -p 22 127.0.0.1Netcat (nc) Check
nc -zv 127.0.0.1 22PowerShell Test
Test-NetConnection -ComputerName localhost -Port 22| Port | Protocol | Service | Description |
|---|---|---|---|
| 20 | TCP | FTP-DATA | File Transfer Protocol (data transfer) |
| 21 | TCP | FTP | File Transfer Protocol (control) |
| 22 | TCP | SSH | Secure Shell, SCP, and SFTP |
| 23 | TCP | Telnet | Unencrypted remote login (legacy) |
| 25 | TCP | SMTP | Email routing between mail servers |
| 53 | TCP/UDP | DNS | Domain Name System lookups |
| 67 | UDP | DHCP | Dynamic Host Configuration (server) |
| 68 | UDP | DHCP | Dynamic Host Configuration (client) |
| 69 | UDP | TFTP | Trivial File Transfer Protocol |
| 80 | TCP | HTTP | Unencrypted web traffic |
| 110 | TCP | POP3 | Post Office Protocol (email retrieval) |
| 123 | UDP | NTP | Network Time Protocol |
| 143 | TCP | IMAP | Internet Message Access Protocol |
| 161 | UDP | SNMP | Simple Network Management Protocol |
| 389 | TCP/UDP | LDAP | Directory services |
| 443 | TCP | HTTPS | Encrypted web traffic (TLS) |
| 445 | TCP | SMB | Windows file sharing |
| 465 | TCP | SMTPS | SMTP over implicit TLS |
| 514 | UDP | Syslog | System logging |
| 587 | TCP | SMTP | Email submission (with STARTTLS) |
| 631 | TCP | IPP | Internet Printing Protocol |
| 993 | TCP | IMAPS | IMAP over TLS |
| 995 | TCP | POP3S | POP3 over TLS |
| 1080 | TCP | SOCKS | SOCKS proxy |
| 1194 | UDP | OpenVPN | OpenVPN tunneling |
| 1433 | TCP | MSSQL | Microsoft SQL Server |
| 1521 | TCP | Oracle | Oracle database |
| 2049 | TCP | NFS | Network File System |
| 3000 | TCP | Dev server | Common Node.js / React dev port |
| 3306 | TCP | MySQL | MySQL / MariaDB database |
| 3389 | TCP | RDP | Remote Desktop Protocol |
| 5432 | TCP | PostgreSQL | PostgreSQL database |
| 5672 | TCP | AMQP | RabbitMQ / message queues |
| 5900 | TCP | VNC | Virtual Network Computing |
| 6379 | TCP | Redis | Redis key-value store |
| 8080 | TCP | HTTP-alt | Alternate HTTP / proxies / dev servers |
| 8443 | TCP | HTTPS-alt | Alternate HTTPS |
| 9200 | TCP | Elasticsearch | Elasticsearch REST API |
| 27017 | TCP | MongoDB | MongoDB database |
About TCP and UDP ports
A port is a 16-bit number (0–65535) that identifies a specific service on a host. Ports 0–1023 are the well-known ports assigned to standard services like HTTP (80), HTTPS (443), and SSH (22); 1024–49151 are registered ports used by apps such as MySQL (3306) and PostgreSQL (5432). This is a quick reference of the ports developers and sysadmins reach for most — searchable instantly in your browser.
Related: the HTTP status codes reference, the MIME type lookup, and the IP address validator.
Built and maintained by Meet Shah · Last updated
What this tool is used for
- Finding which service conventionally uses a port number.
- Finding the port a service you are configuring expects.
- Checking whether a port is in the well-known range.
- Identifying an unexpected port seen in a connection list.
- Confirming a port before opening it in a firewall.
Frequently Asked Questions
- What are the three port ranges?
- 0-1023 are well-known and need privilege to bind on Unix, 1024-49151 are registered for specific services, and 49152-65535 are ephemeral — assigned to outgoing connections rather than listeners.
- Does a service have to use its assigned port?
- No, the assignments are conventions. Moving SSH off 22 reduces automated scanning noise but is not security — a port scan finds it in seconds, so it is tidiness rather than protection.
- How do I find what is using a port?
- `lsof -i :PORT` or `ss -ltnp` on Linux, `netstat -ano` on Windows. The usual reason for an address-already-in-use error is a previous instance that did not exit, not another product.
- Why do the same development ports keep recurring?
- Because frameworks pick memorable defaults — 3000, 8000, 8080, 5173 — and they collide the moment two projects run at once. Assigning a project its own port in config avoids the daily conflict.
- What is the difference between a TCP and a UDP port?
- They are separate spaces, so the same number can be in use by both simultaneously for different services. DNS famously uses both — UDP for ordinary queries and TCP for large responses and zone transfers.
Common errors and gotchas
- Assuming a port implies the service, since anything can listen on any port.
- Treating a registered assignment as enforced, which it is not.
- Opening a port because a service conventionally uses it, without checking what is actually listening.
- Forgetting ports below 1024 need elevated privileges on most systems.
- Confusing TCP and UDP assignments, which are separate namespaces.
Related Developer Utilities tools
RegExp Tester
Test regular expressions and inspect matches locally.
Regex Visualizer
Visual regex pattern diagram with live match highlighting and capture group annotations.
Subnet Calculator
Compute CIDR subnets, usable hosts, and network ranges.
Cron Parser
Translate cron syntax into plain English.
URL Parser
Break a URL into protocol, host, path, and query parts.
HTML Previewer
Paste HTML and see it rendered live in a safe, sandboxed preview.
HTTP Status Code Reference
Search and look up every HTTP status code and its meaning.
MIME Type Lookup
Find the MIME type for a file extension, or the extensions for a MIME type.