Advertisement

Port Number Reference

A searchable reference of common TCP and UDP ports: web, mail, databases, remote access, gaming and more. Type a port number or service name to filter instantly. Handy for firewall rules and debugging.

Search ports

Advertisement

How port numbers work

Port numbers steer traffic to the right service on a host: well-known ports 0-1023 are assigned to core services like HTTP (80) and SSH (22), registered ports 1024-49151 cover databases and apps like MySQL (3306), and dynamic ports 49152-65535 are picked automatically for outbound connections. TCP and UDP number their ports independently, so port 53 means DNS on both.

Using this reference

Use this reference when writing firewall rules, reading netstat output, configuring Docker port mappings, or debugging connection refused errors. If a service is unreachable, the first check is always whether its port is open and listening on the right interface.

Port Number Reference FAQs

What is the difference between port 80 and 443?
Port 80 is plain HTTP and port 443 is HTTPS (HTTP over TLS). Browsers default to 443 for https:// URLs. Never expose 80 without redirecting to 443 for anything handling logins or data.
Which ports do databases use?
3306 is MySQL/MariaDB, 5432 is PostgreSQL, 1433 is SQL Server, 1521 is Oracle, 27017 is MongoDB, and 6379 is Redis. These defaults are often changed in production for obscurity.
Which ports are used for remote access?
Port 22 is SSH for secure shell access, 3389 is RDP for Windows Remote Desktop, and 5900 is VNC for graphical remote access. All three are constant targets for brute-force attacks, so restrict them.
What are well-known vs registered ports?
Well-known ports run from 0 to 1023 and need admin rights to bind. Registered ports run 1024-49151. Dynamic (ephemeral) ports run 49152-65535 and are chosen automatically for outgoing connections.
How do I find a port in the list?
Type the number or service name in the search box. You can also search by protocol (TCP/UDP) or by keyword like mail, database or game to filter the list.
Advertisement