PassCram
IT & Cloud · 5 min read

CompTIA A+ & Network+ Port Numbers Cheat Sheet (All 25 Exam Ports)

Every TCP and UDP port tested on CompTIA A+ (220-1101) and Network+, grouped by function so you can memorize all 25 in 10 minutes.

CompTIA A+ & Network+ Port Numbers Cheat Sheet (All 25 Exam Ports)

Key Takeaways

  • Web & Remote: HTTP 80, HTTPS 443, SSH 22, Telnet 23, RDP 3389.
  • Email: SMTP 25, POP3 110, IMAP 143, IMAPS 993, POP3S 995.
  • Core Infrastructure: FTP 20/21, DNS 53, DHCP 67/68, SMB 445, SNMP 161/162, LDAP 389.

Group Ports by Job Instead of Number

Students struggle when memorizing a random list from 20 to 3389. Instead, group them into 4 buckets: File Transfer (FTP 20/21, SFTP 22, SMB 445), Email (SMTP 25, POP3 110, IMAP 143), Web (HTTP 80, HTTPS 443), and Network Services (DNS 53, DHCP 67/68, NTP 123).

Secure vs Unsecure Pairs

CompTIA loves asking which port replaces an unencrypted protocol: SSH (22) replaces Telnet (23), HTTPS (443) replaces HTTP (80), LDAPS (636) replaces LDAP (389), and IMAPS (993) replaces IMAP (143).