CompTIA A+

A+ ports and protocols

Ports are pure recall, and they appear on Core 1 every time. Learn them in families: file transfer, remote access, mail, names and addresses, web and Windows.

Where it is testedCore 1 (220-1201), Networking
HowMultiple choice, matching and firewall tasks

The ports

PortProtocolUse
20, 21 TCPFTPFile transfer (data, control)
22 TCPSSHEncrypted remote shell; also SFTP
23 TCPTelnetUnencrypted remote shell
25 TCPSMTPSending email
53 TCP/UDPDNSName resolution
67, 68 UDPDHCPAddress assignment (server, client)
80 TCPHTTPWeb, unencrypted
110 TCPPOP3Downloading email
137 to 139NetBIOSLegacy Windows naming and sharing
143 TCPIMAPReading email on the server
161, 162 UDPSNMPDevice monitoring, traps
389 TCPLDAPDirectory lookups
443 TCPHTTPSWeb over TLS
445 TCPSMBWindows file and printer sharing
3389 TCPRDPRemote Desktop

How to remember them

  • Pair each clear-text protocol with its secure partner: Telnet 23 and SSH 22, HTTP 80 and HTTPS 443.
  • Mail runs in order of the journey: SMTP 25 sends, POP3 110 downloads, IMAP 143 syncs.
  • UDP for quick, small messages: DNS lookups, DHCP and SNMP.

Try 3 questions

Question 1Core 1 · 2.0

A help desk needs to reach Windows desktops with Remote Desktop through an internal firewall. Which port must the firewall allow?

Question 2Core 1 · 2.0

An administrator manages switches over Telnet and wants the same command-line access with the session encrypted. Which protocol and port should replace Telnet?

Question 3Core 1 · 2.0

Which DNS record type maps a host name to an IPv4 address?

Next step

Questions people ask

Which ports are on the A+ exam?

The common ones in the table: 20 and 21, 22, 23, 25, 53, 67 and 68, 80, 110, 137 to 139, 143, 161 and 162, 389, 443, 445 and 3389.

What port does Remote Desktop use?

TCP 3389.

What is the difference between POP3 and IMAP?

POP3 (110) downloads mail, usually to one device. IMAP (143) keeps it on the server, so every device stays in sync.