Chapters0/35 ▾
Chapter 2 · Lesson 1 of 5
Ports and protocols: TCP, UDP and secure replacements
1 min read
The V15 objectives list a fixed set of ports. Learn them as pairs and purposes, because most questions ask which port to open or which protocol replaces an insecure one.
| Port | Protocol | Use |
|---|---|---|
| 20-21 | FTP | File transfer, login sent in cleartext |
| 22 | SSH | Encrypted remote shell, also carries SFTP |
| 23 | Telnet | Remote shell in cleartext |
| 25 | SMTP | Sending mail between servers |
| 53 | DNS | Name resolution |
| 67/68 | DHCP | Automatic addressing |
| 80 / 443 | HTTP / HTTPS | Web, cleartext / encrypted with TLS |
| 110 / 143 | POP3 / IMAP | Download mail / keep mail synced on the server |
| 137-139 | NetBIOS/NetBT | Legacy Windows name and session services |
| 389 | LDAP | Directory queries |
| 445 | SMB/CIFS | Windows file and printer sharing |
| 3389 | RDP | Remote graphical desktop |
TCP acknowledges and resends lost segments, so it suits file transfers and web pages. UDP sends without acknowledgment or retransmission, which is why live voice and video use it: a dropped packet becomes a brief glitch instead of a pause.
A user who reads mail on three devices and wants read status to match everywhere needs IMAP, because POP3 by default downloads each message to one device and removes the server copy.
Check yourself
1. A vendor uploads nightly files to a company server with FTP. A packet capture shows the vendor's password in readable text. Which change removes that exposure?
2. A technician must administer a Linux server's command line from across the building, and policy forbids sending passwords in cleartext. Which port should be opened on the server firewall?
Facts checked 2026-11-15 · Sources: CompTIA A+ Core 1 (220-1201) V15 Exam Objectives, CompTIA A+ certification overview, IETF RFC 1918: Address Allocation for Private Internets
CompTIA A+ cheat sheet: every key fact on one page →