Ports, Protocols & Wireless Networking
A+ Core 1 220-1201 · Networking
Networking is 23% of Core 1, and this guide covers its two most memorization-heavy objectives: TCP and UDP ports and protocols, and wireless networking technologies. These topics reward flashcards and repetition — the port numbers and Wi-Fi standards appear on the exam in direct recall questions and in troubleshooting scenarios where knowing that port 443 is HTTPS tells you immediately whether a firewall rule is the problem.
TCP vs UDP
Almost all network communication uses one of two transport protocols. TCP (Transmission Control Protocol) is connection-oriented: before any data moves, the two devices complete a three-way handshake (SYN, SYN-ACK, ACK), and every segment of data is acknowledged by the receiver. If a segment is lost, TCP retransmits it. That reliability makes TCP the right choice for web browsing, email, file transfers, and remote administration — anything where every byte must arrive in order. UDP (User Datagram Protocol) is connectionless: it sends datagrams without a handshake and without acknowledgments. It is faster and has less overhead, but delivery is not guaranteed. UDP is used where speed matters more than perfection: DNS lookups, DHCP, streaming video, online gaming, and VoIP, where a lost packet is a brief glitch rather than a corrupted file.
Most protocols use TCP, a few use UDP, and a few use both. DNS primarily uses UDP port 53 for fast lookups but switches to TCP for large responses such as zone transfers. DHCP uses UDP ports 67 (server) and 68 (client). Knowing which transport a protocol uses matters for firewall rules: blocking UDP 53 breaks DNS even if TCP 53 is open.
The ports you must know
CompTIA's objective 2.1 lists the ports the exam tests. Learn them as pairs of number and purpose:
| Port | Protocol | Purpose |
|---|---|---|
| 20–21 | FTP | File Transfer Protocol — 21 for commands, 20 for data |
| 22 | SSH | Secure Shell — encrypted remote command-line access |
| 23 | Telnet | Unencrypted remote terminal access (legacy, insecure) |
| 25 | SMTP | Simple Mail Transfer Protocol — sending mail between servers |
| 53 | DNS | Domain Name System — name resolution (UDP, and TCP for large replies) |
| 67/68 | DHCP | Dynamic Host Configuration Protocol — automatic IP addressing |
| 80 | HTTP | Hypertext Transfer Protocol — unencrypted web traffic |
| 110 | POP3 | Post Office Protocol — downloading mail to one device |
| 143 | IMAP | Internet Mail Access Protocol — mail kept on the server, synced across devices |
| 389 | LDAP | Lightweight Directory Access Protocol — directory lookups |
| 443 | HTTPS | HTTP Secure — encrypted web traffic |
| 445 | SMB/CIFS | Server Message Block — Windows file sharing |
| 137–139 | NetBIOS/NetBT | Legacy Windows name resolution and file sharing |
| 3389 | RDP | Remote Desktop Protocol — Windows remote GUI access |
A few of these invite confusion. SMTP (25) sends mail; POP3 (110) and IMAP (143) retrieve it — and the difference between the two retrieval protocols is that POP3 downloads mail and usually deletes it from the server, while IMAP keeps mail on the server so it stays in sync across devices. SSH (22) and Telnet (23) do the same job, but Telnet sends everything including passwords in plaintext, so SSH is always the correct answer when security matters. SMB (445) is the modern Windows file-sharing port; the NetBIOS ports (137–139) are its legacy predecessors.
Wireless frequencies, channels, and standards
Wi-Fi operates in three frequency bands. 2.4 GHz travels farther and passes through walls better, but it is crowded — Bluetooth, microwaves, and many other devices share it — and it offers only three non-overlapping channels (1, 6, and 11 in most regions). 5 GHz is faster and has many more non-overlapping channels, but its range is shorter and it is blocked more easily by walls. 6 GHz is the newest band, used by Wi-Fi 6E and Wi-Fi 7, offering the most channels and the least congestion, at the cost of the shortest range. Channel selection matters: two access points on overlapping channels interfere with each other, so a site survey or an automatic channel-selection feature should place neighbouring access points on non-overlapping channels. Channel width is also a trade-off — wider channels (40, 80, or 160 MHz) carry more data but leave fewer channels available and are more vulnerable to interference.
The 802.11 standards define the Wi-Fi generations. 802.11a (5 GHz, up to 54 Mbps) and 802.11b (2.4 GHz, up to 11 Mbps) are the original standards, now obsolete. 802.11g (2.4 GHz, 54 Mbps) replaced b. 802.11n (Wi-Fi 4) introduced MIMO and works on both 2.4 and 5 GHz, with theoretical speeds up to 600 Mbps. 802.11ac (Wi-Fi 5) is 5 GHz only and reaches multi-gigabit speeds. 802.11ax (Wi-Fi 6/6E) adds efficiency features for crowded environments and, in the 6E variant, the 6 GHz band. 802.11be (Wi-Fi 7) is the newest standard, with even wider channels and lower latency. The exam focuses on the practical differences: which bands each standard uses, and the rough speed and range trade-offs — not exact maximum speeds.
Two other wireless technologies appear in this objective. Bluetooth is a short-range personal-area technology (about 10 meters) for peripherals and audio, operating in the 2.4 GHz band — which is why it can interfere with 2.4 GHz Wi-Fi. NFC works over a few centimetres for payments and quick pairing. RFID (radio-frequency identification) uses radio waves to identify tagged objects at a distance — inventory tracking, access badges, and asset tags — and unlike NFC it can work over several meters depending on the tag type.
Putting it together
A typical exam scenario combines these topics: a user cannot reach a website, and the question asks which port to check (443 for HTTPS, 53 for DNS), or a wireless network is slow and the answer is channel overlap on 2.4 GHz. The troubleshooting habit to build is to translate symptoms into the layer they belong to: if name resolution fails, think DNS (port 53, UDP); if a secure website fails but an unsecured one works, think port 443; if wireless is slow only in one room, think interference or band selection. The ports and standards are facts, but the exam tests them through scenarios, so practice asking "which port, which band, which standard?" for every connectivity problem you meet.
One final exam habit: when a question names a port number, translate it to the service before you answer — 80 and 443 are web traffic, 53 is DNS, 25 and 587 are mail, 22 is SSH, and 3389 is Remote Desktop. When a question names a wireless standard, translate it to band and speed: 802.11n covers 2.4 and 5 GHz, 802.11ac is 5 GHz only, and 802.11ax (Wi-Fi 6) covers both bands with better efficiency. Naming the service first turns a memory question into a reasoning question.
Exam traps to watch for
- Mixing up SMTP (sends mail, port 25) with POP3 (110) and IMAP (143), which retrieve mail — and confusing POP3 (downloads and usually deletes from the server) with IMAP (keeps mail on the server).
- Forgetting that DNS uses UDP port 53 for normal lookups and TCP only for large responses — a firewall blocking UDP 53 breaks name resolution.
- Saying 5 GHz has longer range than 2.4 GHz: it is the other way round. 5 GHz is faster with more channels, but 2.4 GHz reaches farther through walls.
- Picking Telnet when the scenario needs secure remote access: Telnet sends passwords in plaintext, so SSH (port 22) is always the secure choice.
Practice questions
Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.
Q1.A user can reach websites by IP address but not by name. The firewall administrator confirms that TCP port 53 is open. What is the most likely cause?
Explanation: Reaching sites by IP but not by name points to DNS failure. DNS normally uses UDP port 53 for lookups, so opening only TCP 53 does not fix it — the UDP traffic is still blocked. Option B is wrong because HTTPS on 443 affects encrypted web traffic, not name resolution, and the user can reach sites by IP. Option A is wrong because a down web server would block access by IP too. Option C is wrong because the user clearly has a working IP address (they can reach sites by IP).
Exam objective: 220-1201 Objective 2.1: Compare and contrast TCP and UDP ports, protocols, and their purposes
Q2.A technician needs to connect to a remote server's command line over an encrypted connection. Which port and protocol should be used?
Explanation: SSH (Secure Shell) on TCP port 22 provides encrypted remote command-line access. Option B is wrong because Telnet provides remote terminal access but sends everything, including passwords, in plaintext. Option A is wrong because RDP provides a graphical desktop session, not a command line. Option C is wrong because FTP transfers files; it is not a remote administration protocol.
Exam objective: 220-1201 Objective 2.1: Compare and contrast TCP and UDP ports, protocols, and their purposes
Q3.A user reads email on a phone, a laptop, and a tablet, and wants messages marked as read on one device to show as read on the others. Which protocol should the mail client use?
Explanation: IMAP keeps mail on the server and synchronizes state (read/unread, folders) across all devices, which is exactly what this user needs. Option B is wrong because POP3 downloads mail to one device and typically removes it from the server, so other devices cannot see the same mailbox state. Option A is wrong because SMTP sends mail; it does not retrieve or synchronize it. Option C is wrong because LDAP is a directory lookup protocol, not an email protocol.
Exam objective: 220-1201 Objective 2.1: Compare and contrast TCP and UDP ports, protocols, and their purposes
Q4.A Windows user cannot access a shared folder on a file server, but can ping the server. The firewall on the server is blocking one port. Which port is most likely blocked?
Explanation: Windows file sharing uses SMB on TCP port 445, so blocking 445 breaks shared-folder access while ping (ICMP) still works. Option D is wrong because port 80 is for unencrypted web traffic, not file sharing. Option A is wrong because port 25 is for sending email. Option C is wrong because DNS is for name resolution, and the user can evidently reach the server (ping works).
Exam objective: 220-1201 Objective 2.1: Compare and contrast TCP and UDP ports, protocols, and their purposes
Q5.Why does a DNS lookup normally use UDP rather than TCP?
Explanation: DNS queries are small and fast, so UDP's connectionless, low-overhead delivery is ideal; if a response is lost, the client simply retries. Option C is wrong because neither UDP nor TCP is encrypted by itself. Option B is wrong because DNS does use TCP for large responses such as zone transfers. Option A is backwards: TCP guarantees delivery through acknowledgments and retransmission; UDP does not.
Exam objective: 220-1201 Objective 2.1: Compare and contrast TCP and UDP ports, protocols, and their purposes
Q6.An office wireless network on 2.4 GHz is slow and unreliable. A survey shows neighbouring networks on channels 1, 2, 6, and 9. What is the best first step?
Explanation: On 2.4 GHz, only channels 1, 6, and 11 are non-overlapping, so neighbouring networks on channels 2 and 9 are causing interference. Moving to the least congested non-overlapping channel (1, 6, or 11) is the correct fix. Option A is wrong because higher power increases interference for everyone and does not solve channel overlap. Option D is wrong because Bluetooth is a short-range peripheral technology, not a network replacement. Option C is wrong because it abandons wireless entirely when a channel change would fix the problem.
Exam objective: 220-1201 Objective 2.2: Explain wireless networking technologies
Q7.A user's laptop connects to Wi-Fi in the office but the signal is very weak in a meeting room two floors away, even though the access point is new and supports Wi-Fi 6. Which change is most likely to improve coverage in that room?
Explanation: Lower frequencies travel farther and penetrate walls better, so 2.4 GHz gives better coverage at distance than 5 GHz (at the cost of lower speed). Option A is wrong because 6 GHz has the shortest range of all three bands. Option D is wrong because wider channels increase speed, not range, and reduce the number of available channels. Option B is wrong because MIMO improves throughput using multiple antennas; disabling it would make performance worse.
Exam objective: 220-1201 Objective 2.2: Explain wireless networking technologies
Q8.A warehouse wants to track pallets automatically as they pass through a dock door, without anyone scanning each pallet. Which technology is designed for this?
Explanation: RFID is designed for exactly this: tags on items are read by radio waves as they pass a reader, over distances of several meters and without line of sight. Option D is wrong because NFC works only over a few centimetres and requires the tag to be held close to the reader. Option A is wrong because Bluetooth is for connecting peripherals and requires pairing; it is not an asset-tracking technology. Option B is wrong because infrared requires line of sight and does not pass through walls.
Exam objective: 220-1201 Objective 2.2: Explain wireless networking technologies