Study tips
Common Port Numbers for CompTIA A+, Network+ and Security+
6 November 2026
Port numbers come up in CompTIA A+, Network+ and Security+. You'll be asked which port a protocol uses, which protocol runs on a port, or which port to open or block in a scenario. These are the ones worth knowing by heart.
File transfer and remote access
- 20 and 21: FTP (20 for data, 21 for control)
- 22: SSH, and also SFTP and SCP, which run over SSH
- 23: Telnet (unencrypted, so a common "what should you disable?" answer)
- 3389: RDP, Remote Desktop Protocol
- 25: SMTP, sending mail between servers
- 587: SMTP submission, used by mail clients to send mail
- 110: POP3
- 143: IMAP
- 995: POP3 over TLS (POP3S)
- 993: IMAP over TLS (IMAPS)
Web and name resolution
- 80: HTTP
- 443: HTTPS
- 53: DNS (UDP for most lookups, TCP for zone transfers and large replies)
Network services
- 67 and 68: DHCP (67 for the server, 68 for the client)
- 69: TFTP
- 123: NTP, time synchronisation
- 161 and 162: SNMP (162 for traps)
- 389: LDAP
- 636: LDAPS, LDAP over TLS
- 445: SMB, Windows file sharing
- 137 to 139: NetBIOS
Tips for remembering them
- Learn them in pairs. Many secure versions have their own port: LDAP 389 and LDAPS 636, POP3 110 and POP3S 995, IMAP 143 and IMAPS 993, HTTP 80 and HTTPS 443.
- Think in scenarios. Exams rarely ask for a bare number. A question might say a user can't reach a website over HTTPS, and you need to know the firewall must allow 443.
- Test yourself little and often. Short daily sessions beat one long cram.
Search every port in our free common ports list, then put them to the test with a free A+ Core 1 mock test, Network+ mock test or Security+ mock test.
Test yourself for free
Start your IT career with A+ Core 1.