IT Pro Toolkit · Reference

Common Ports & Protocols

The port numbers worth committing to memory — what listens on each, whether it's TCP or UDP, and the security note that actually matters. Built for interviews, troubleshooting, and firewall rules.

Updated July 2026 · ~5 min read

Ports are how one machine knows which service you're actually talking to. An IP address gets you to the host; the port gets you to the right door on it. Knowing the common ones cold saves you constantly — reading a firewall rule, spotting something odd in ss -tulpn, or answering the question every IT interview asks. Here are the ones that come up in real work.

The essentials — you should know these cold

PortProtocolService & note
22TCPSSH — encrypted remote login. Lock it down first.
80TCPHTTP — unencrypted web traffic
443TCPHTTPS — encrypted web (TLS). Almost everything today.
53TCP/UDPDNS — name resolution. UDP for lookups, TCP for zone transfers.
25TCPSMTP — sending mail between servers
587TCPSMTP submission — mail clients sending outbound (with auth)
67 / 68UDPDHCP — automatic IP assignment (server / client)

Remote access and file transfer

PortProtocolService & note
3389TCPRDP — Windows Remote Desktop. Never expose to the open internet.
21TCPFTP — legacy file transfer, unencrypted. Prefer SFTP.
22TCPSFTP / SCP — file transfer over SSH
23TCPTelnet — plaintext, obsolete. If you see it open, ask why.
445TCPSMB — Windows file sharing. A classic ransomware vector.

Mail, directory, and databases

PortProtocolService & note
110 / 995TCPPOP3 / POP3S — retrieve mail (plain / TLS)
143 / 993TCPIMAP / IMAPS — sync mail (plain / TLS)
389 / 636TCPLDAP / LDAPS — directory services (plain / TLS)
3306TCPMySQL / MariaDB
5432TCPPostgreSQL
6379TCPRedis — bind to localhost unless you mean it
27017TCPMongoDB
Rule of thumb: the encrypted twin usually ends in a higher, "S" number — 80→443, 143→993, 389→636. When both exist, use the secure one and firewall the other.

Ops, monitoring, and the well-known range

PortProtocolService & note
123UDPNTP — time synchronization
161 / 162UDPSNMP — device monitoring (poll / trap)
514UDPSyslog — centralized logging
8080TCPHTTP alternate — proxies, dev servers, app backends
3000 / 5000TCPCommon local dev server ports

One number worth memorizing: ports 0–1023 are "well-known," reserved for core services and usually requiring elevated privileges to bind. 1024–49151 are "registered," and 49152–65535 are "ephemeral" — the short-lived ports your own outbound connections borrow.

Keep the full reference card on your desk

The Common Ports & Protocols Reference Card is the print-ready version of this page — every port above plus the ones that only show up when something's broken, laid out for fast scanning during an incident or an interview. Instant download.

Get the reference card →

Why this shows up in every interview

Ports are a quick proxy for whether you've actually run infrastructure. An interviewer asking "what port does SSH use?" isn't testing trivia — they're checking that you've locked a box down before. If you can also say why 3389 should never face the internet, or what 445 has to do with ransomware, you've moved from memorized to understood. That's the level the full card is built to get you to.