Good to know
Learn the ports in pairs: every cleartext protocol has an encrypted twin (80 and 443, 23 and 22, 389 and 636). The exam likes to ask which one is secure.
Mail is three jobs: SMTP sends, POP3 and IMAP retrieve. POP3 (110) usually downloads and removes mail from the server, IMAP (143) leaves it there and syncs folders.
Expect both directions on the exam: name the port from the protocol, and name the protocol from the port or from a scenario.
Port 20 → FTP data (File Transfer Protocol) , TCP Carries the file contents in active mode; commands go on port 21.
Port 21 → FTP control (File Transfer Protocol) , TCP Login and commands; sent in cleartext.
Port 22 → SSH (Secure Shell) , TCP Encrypted remote shell; also carries SFTP and SCP.
Port 23 → Telnet, TCP Remote command line in cleartext, so SSH replaces it.
Port 25 → SMTP (Simple Mail Transfer Protocol) , TCP Sends mail and relays it between mail servers.
Port 53 → DNS (Domain Name System) , UDP and TCP UDP for ordinary queries, TCP for large answers and zone transfers.
Port 67 → DHCP server (Dynamic Host Configuration Protocol) , UDP The side that listens and hands out IP addresses.
Port 68 → DHCP client, UDP The side that asks for an address; the server answers on 67.
Port 80 → HTTP (Hypertext Transfer Protocol) , TCP Unencrypted web traffic.
Port 110 → POP3 (Post Office Protocol 3) , TCP Retrieves mail, usually downloading it from the server.
Port 143 → IMAP (Internet Mail Access Protocol) , TCP Retrieves mail that stays on the server and keeps folders in sync.
Port 137 → NetBIOS name service, UDP Looks up NetBIOS names; first of the 137-139 range.
Port 138 → NetBIOS datagram service, UDP Connectionless NetBIOS messages and browsing.
Port 139 → NetBIOS session service (NetBT) , TCP Connection-based NetBIOS file and printer sharing.
Port 389 → LDAP (Lightweight Directory Access Protocol) , TCP Queries a directory such as Active Directory, unencrypted.
Port 443 → HTTPS (HTTP Secure) , TCP Web traffic encrypted with TLS.
Port 445 → SMB/CIFS (Server Message Block) , TCP Windows file and printer sharing directly over TCP/IP, no NetBIOS.
Port 3389 → RDP (Remote Desktop Protocol) , TCP Graphical remote control of a Windows PC.
Port 69 → TFTP (Trivial File Transfer Protocol) , UDP FTP without login or encryption; used for firmware and network boot.
Port 123 → NTP (Network Time Protocol) , UDP Synchronizes clocks across devices.
Port 161 → SNMP (Simple Network Management Protocol) , UDP The manager polls devices on this port.
Port 162 → SNMP traps, UDP Devices send alerts to the manager on this port, unlike polling on 161.
Port 514 → Syslog, UDP Collects log messages from devices on a central server.
Port 587 → SMTP submission, TCP Where a mail client hands outgoing mail to its server, usually upgraded to TLS with STARTTLS; Network+ calls it SMTPS.
Port 465 → SMTPS, TCP SMTP wrapped in TLS from the first byte.
Port 636 → LDAPS, TCP LDAP over TLS: the encrypted twin of port 389.
Port 993 → IMAPS, TCP IMAP over TLS: the encrypted twin of port 143.
Port 995 → POP3S, TCP POP3 over TLS: the encrypted twin of port 110.
Which transport protocol is connection-oriented and reliable: TCP or UDP? → TCP Three-way handshake, acknowledgments and retransmission. UDP skips all of that.
Which transport protocol sends without a handshake and favors speed: TCP or UDP? → UDP No connection and no delivery guarantee; fits DHCP, TFTP, NTP and SNMP.
Which port replaces Telnet when you need an encrypted remote command line? → 22 SSH: the same job as Telnet on 23, with encryption.
A user can reach websites by IP address but not by name. Which port carries the failing service? → 53 DNS translates names to IP addresses.
Which port must a firewall allow so a technician can open a graphical session on a Windows PC? → 3389 RDP is the Windows remote desktop service.
Show all 33 cards
How to review these cards
Add the deck to Flashcards Master and review a few minutes a day. The app brings back each card just before you would forget it, more often for the ones you get wrong.
Made by Léo Floissac, developer of Flashcards Master. Updated November 27, 2026.