Port Numbers Reference
A reference of common TCP and UDP port numbers (web and email, remote access, databases, and network services) so you can recognise what runs where.
TCP and UDP ports identify which service a network connection is for. Ports 0–1023 are the well-known ports reserved for standard services; 1024–49151 are registered, and 49152–65535 are dynamic/ephemeral. Below are the ports you will meet most.
Web & email
| Port | Proto | Service | Use |
|---|---|---|---|
80 | TCP | HTTP | Unencrypted web traffic. |
443 | TCP | HTTPS | Encrypted web traffic (TLS). |
8080 | TCP | HTTP alt | Common dev / proxy web port. |
25 | TCP | SMTP | Sending mail between servers. |
465 | TCP | SMTPS | SMTP over implicit TLS. |
587 | TCP | SMTP submission | Mail submission from clients. |
110 | TCP | POP3 | Retrieving mail (older). |
143 | TCP | IMAP | Retrieving mail (sync). |
993 | TCP | IMAPS | IMAP over TLS. |
Remote access & transfer
| Port | Proto | Service | Use |
|---|---|---|---|
22 | TCP | SSH / SFTP | Secure shell and file transfer. |
23 | TCP | Telnet | Unencrypted remote login (legacy). |
21 | TCP | FTP | File transfer control channel. |
3389 | TCP | RDP | Windows Remote Desktop. |
5900 | TCP | VNC | Remote desktop sharing. |
Databases
| Port | Proto | Service | Use |
|---|---|---|---|
3306 | TCP | MySQL / MariaDB | Default MySQL port. |
5432 | TCP | PostgreSQL | Default Postgres port. |
6379 | TCP | Redis | In-memory data store. |
27017 | TCP | MongoDB | Default MongoDB port. |
1433 | TCP | SQL Server | Microsoft SQL Server. |
9200 | TCP | Elasticsearch | Search / analytics HTTP API. |
Network services
| Port | Proto | Service | Use |
|---|---|---|---|
53 | UDP/TCP | DNS | Domain name resolution. |
67 | UDP | DHCP server | Assigns IP addresses. |
68 | UDP | DHCP client | Receives IP configuration. |
123 | UDP | NTP | Network time synchronization. |
161 | UDP | SNMP | Network device monitoring. |
389 | TCP | LDAP | Directory services. |
636 | TCP | LDAPS | LDAP over TLS. |
On Unix, see the full mapping in /etc/services. Binding to a
port below 1024 typically requires root/administrator privileges, which is why dev servers
default to higher ports like 3000, 5173, or 8080.
What this does
A port numbers reference lists common TCP and UDP ports — web and email, remote access, databases, and network services — so you know what runs where.
How to use it
- Find a service or port number.
- Check its protocol.
- Read what it is used for.
- Copy the value with one tap.
Example
Port 443 carries HTTPS, the secure web protocol.
Sources & methodology
Last updated .
Frequently asked questions
What are well-known ports?
Ports 0–1023 are the well-known ports reserved for standard services like HTTP (80) and SSH (22). 1024–49151 are registered, and the rest are dynamic/ephemeral.
What’s the difference between TCP and UDP?
TCP is connection-based and reliable, used by most services. UDP is connectionless and faster but does not guarantee delivery, used by DNS, NTP, and streaming.
Why do dev servers use ports like 3000 or 8080?
Binding to ports below 1024 usually requires administrator privileges, so development tools default to higher, unprivileged ports.
Related tools
HTTP Status Codes
Every common HTTP status code explained, informational (1xx), success (2xx), redirection (3xx), client errors (4xx), and server errors (5xx), with what each one means.
File Extensions Reference
A reference of common file extensions and the formats they represent, documents, images, audio and video, archives, and code and data files.
ASCII Table
A complete ASCII table, printable characters 32–126 with their decimal and hex codes, plus the control characters 0–31 and 127 with their standard abbreviations.
HTML Entities Reference
A reference of common HTML entities, the must-escape characters, punctuation and quotes, currency and legal symbols, math symbols, and arrows, with named and numeric codes.