Saved

Utilix knowledge base

Common TCP and UDP Port Numbers (Quick Reference)

Published Jun 1, 2026

Common TCP and UDP Port Numbers

Port numbers identify which application or service should receive traffic on a host. Combined with an IP address, they form a socket: 192.168.1.1:443.

Use the Port Number Reference to search by number or service name.

Port ranges

RangeNameNotes
0–1023Well-knownIANA assigned; often need root to bind
1024–49151RegisteredIANA assigned applications
49152–65535Dynamic/privateEphemeral client ports

Essential ports every admin should know

PortServiceProtocolDescription
22SSHTCPSecure remote shell
53DNSTCP/UDPDomain name resolution
80HTTPTCPUnencrypted web
443HTTPSTCP/UDPTLS-encrypted web
25SMTPTCPMail delivery
587SubmissionTCPMail client submission
3306MySQLTCPMySQL / MariaDB
5432PostgreSQLTCPPostgreSQL database
6379RedisTCPIn-memory cache (unofficial)
8080HTTP-altTCPProxies / dev servers

TCP vs UDP

  • TCP — reliable, ordered delivery (HTTP, SSH, databases)
  • UDP — fast, no guarantee (DNS queries, VoIP, gaming, QUIC/HTTP3)

Some services use both: DNS uses UDP for queries and TCP for large zone transfers.

Official vs unofficial

Official ports are registered with IANA. Unofficial ports are community conventions (Redis 6379, MongoDB 27017) — widely used but not formally assigned.

Security tip

Close unused ports at the firewall. Scanning for open ports (nmap) is standard in security audits — know what should be listening before exposing a server.

Related