Common Ports Reference

Common TCP/UDP port reference: well-known (0-1023) ports mapped to common services (SSH, HTTP, HTTPS, databases …) with short descriptions.

PortServiceNote
20/21FTPFile transfer (21 control, 20 data)
22SSHSecure remote login / SCP / SFTP
23TelnetPlaintext remote terminal (insecure)
25SMTPMail sending
53DNSDomain name resolution
67/68DHCPDynamic host configuration
69TFTPTrivial file transfer
80HTTPHypertext transfer (plaintext)
110POP3Mail retrieval (POP3)
111RPCRemote procedure call
123NTPNetwork time sync
135MS-RPCWindows RPC
137-139NetBIOSWindows file/print sharing (NetBIOS)
143IMAPMail retrieval with folders (IMAP)
161/162SNMPNetwork management (SNMP)
179BGPBorder gateway routing (BGP)
194IRCInternet relay chat
389LDAPLightweight directory access (LDAP)
443HTTPSEncrypted hypertext transfer (TLS)
465SMTPSEncrypted mail sending (SMTPS)
514SyslogSystem logging (Syslog)
587SMTP SubmissionMail submission (encrypted)
636LDAPSEncrypted directory access (LDAPS)
993IMAPSEncrypted mail retrieval (IMAPS)
995POP3SEncrypted mail retrieval (POP3S)
1433MSSQLSQL Server database
1521OracleOracle database
2049NFSNetwork file system (NFS)
3306MySQLMySQL database
3389RDPWindows remote desktop (RDP)
5432PostgreSQLPostgreSQL database
5672RabbitMQMessage queue (RabbitMQ)
6379RedisIn-memory key-value store (Redis)
8080HTTP-AltCommon HTTP alternative (dev)
8443HTTPS-AltCommon HTTPS alternative (dev)
9092KafkaDistributed event stream (Kafka)
9200ElasticsearchSearch/analytics engine (Elasticsearch)
11211MemcachedMemory cache (Memcached)
27017MongoDBDocument database (MongoDB)

Frequently Asked Questions

Why are 0-1023 called "well-known ports"?

IANA reserves 0-1023 for system/well-known services. They usually require root (or admin) to bind, used by HTTP, SSH, DNS and other standard services.

How are port ranges divided?

0-1023 well-known (system reserved); 1024-49151 registered (user programs register with IANA); 49152-65535 dynamic/private (ephemeral allocation).

How do I see listening ports on my machine?

On Linux use `ss -tlnp` or `netstat -tlnp`; on macOS `lsof -i -P`; on Windows `netstat -ano`.

Why do dev environments prefer 8080 / 8443?

80/443 are often occupied and need admin to bind; 8080/8443 avoid conflicts and need no privilege, so frameworks and local servers default to them.