Common Ports & Protocols

The well-known ports you must recognize for CompTIA Network+, Security+, and A+. Insecure protocols are paired with their encrypted replacements, a favorite exam theme.

Well-known ports

PortProtocolTransportPurpose
20 / 21FTPTCPFile transfer (data / control), cleartext
22SSH / SFTP / SCPTCPSecure shell and secure file transfer
23TelnetTCPRemote CLI, cleartext, insecure
25SMTPTCPEmail routing between servers
53DNSTCP/UDPName resolution
67 / 68DHCPUDPDynamic address assignment
69TFTPUDPTrivial file transfer (no auth)
80HTTPTCPWeb, cleartext
110POP3TCPEmail retrieval (download)
123NTPUDPTime synchronization
143IMAPTCPEmail retrieval (sync)
161 / 162SNMPUDPDevice monitoring / traps
389LDAPTCP/UDPDirectory services, cleartext
443HTTPSTCPWeb over TLS
445SMBTCPWindows file sharing
636LDAPSTCPDirectory services over TLS
993IMAPSTCPIMAP over TLS
995POP3STCPPOP3 over TLS
3389RDPTCPRemote Desktop
3306MySQLTCPDatabase
1433MS SQLTCPDatabase

Insecure → secure protocol pairs

InsecurePortSecure replacementPort
Telnet23SSH22
FTP21SFTP / FTPS22 / 990
HTTP80HTTPS443
LDAP389LDAPS636
SNMPv1/v2c161SNMPv3161
POP3 / IMAP110 / 143POP3S / IMAPS995 / 993

Ready to test yourself?

Memorizing a table is a start, practice questions make it stick.