NETWORK

Port number rangesWell-known, registered and dynamic ports

Port numbers run from 0 to 65535 and IANA divides them into three ranges: system or well-known ports 0–1023 (HTTP 80, HTTPS 443, SSH 22), registered ports 1024–49151 (assigned to specific applications on request) and dynamic or private ports 49152–65535, which clients use for the source side of connections.

BlackhawkHub Editorial · Updated

The three ranges

RangeNameAssigned byTypical contents
0–1023System (well-known)IANA, standards action or IESG reviewCore internet services: HTTP, HTTPS, SSH, DNS, SMTP, NTP, LDAP, SMB
1024–49151User (registered)IANA on request from developersDatabases, games, management consoles, proprietary protocols
49152–65535Dynamic (private, ephemeral)NobodyClient-side source ports; see ephemeral ports

A port number identifies a socket on a host; combined with the IP address and transport it uniquely names one endpoint of a connection.

What registration is and is not

IANA's registry is a coordination list. A registered entry means a developer asked for the number and IANA recorded the service name, so that other developers can avoid it. Registration does not reserve the port technically; operating systems enforce nothing except the Unix privilege rule for ports below 1024. Consequently:

  • Some registered ports are used almost exclusively for something else (8443, 3000, 1521).
  • Some heavily used ports were never registered for their real use.
  • Port scanners that print the registered name are describing the registry, not the program actually listening.

The Port Lookup tool shows the registry entry alongside BlackhawkHub's own record where one exists.

Common well-known ports

PortServiceTransport
20, 21FTP data, FTP controlTCP
22SSH, SFTPTCP
23TelnetTCP
25SMTP relayTCP
53DNSUDP, TCP
67, 68DHCPUDP
80HTTPTCP
88KerberosTCP, UDP
110POP3TCP
123NTPUDP
135RPC endpoint mapperTCP
137–139NetBIOSUDP, TCP
143IMAPTCP
161, 162SNMPUDP
389LDAPTCP, UDP
443HTTPSTCP, UDP (HTTP/3)
445SMBTCP
465SMTP submission (TLS)TCP
514SyslogUDP, TCP
587SMTP submissionTCP
636LDAPSTCP
993IMAPSTCP
995POP3STCP

Common registered ports

PortService
1194OpenVPN
1433Microsoft SQL Server
1521Oracle listener
1723PPTP
1812RADIUS
3000Node.js / Grafana
3306MySQL
3389RDP
5060SIP
5432PostgreSQL
5900VNC
5985WinRM
6379Redis
8080HTTP alternate
8443HTTPS alternate
27017MongoDB

The full set of BlackhawkHub port records is on the ports index.

Frequently asked questions

Why do ports below 1024 need administrator rights?

On Unix-like systems only root (or a process with CAP_NET_BIND_SERVICE) can bind ports below 1024, a convention meant to guarantee that a well-known service is run by the system, not a user. Windows has no such restriction, which is why IIS and other services bind 80 without special handling.

Does registration mean a port can only be used for that service?

No. Registration records the intended use so that applications avoid collisions. Any program can bind any free port. Port 8443 is registered to pcsync-https and used almost universally for HTTPS alternates.

Are TCP and UDP port numbers the same list?

They are separate 65,536-entry spaces. IANA usually assigns the same number to a service for both transports to keep things simple, but TCP 53 and UDP 53 are different sockets.

Sources