Well-Known Ports You Must Memorize
Ports 0–1023 are 'well-known' ports assigned by IANA. The Network+ exam expects you to know these from memory. FTP Data: TCP 20. FTP Control: TCP 21. SSH: TCP 22. Telnet: TCP 23. SMTP: TCP 25. DNS: TCP/UDP 53. DHCP Server: UDP 67. DHCP Client: UDP 68. TFTP: UDP 69. HTTP: TCP 80. POP3: TCP 110. NTP: UDP 123. NetBIOS: TCP/UDP 137-139. IMAP: TCP 143. SNMP: UDP 161. SNMP Trap: UDP 162. LDAP: TCP 389. HTTPS: TCP 443. SMB: TCP 445. SMTP (TLS): TCP 587. LDAPS: TCP 636. IMAP (SSL): TCP 993. POP3 (SSL): TCP 995. RDP: TCP 3389. MySQL: TCP 3306. RDP: TCP 3389. SIP: TCP/UDP 5060.
Remember the pattern: secure versions of protocols use different port numbers. HTTP→HTTPS (80→443), LDAP→LDAPS (389→636), IMAP→IMAPS (143→993), POP3→POP3S (110→995). Replacing Telnet (23) with SSH (22) and FTP (21) with SFTP (22) or FTPS are common security questions.
TCP vs UDP Protocol Classification
Knowing which protocol uses TCP vs UDP is essential. TCP (reliable, connection-oriented): FTP, SSH, Telnet, SMTP, HTTP, HTTPS, POP3, IMAP, LDAP, SMB, RDP. UDP (fast, connectionless): DHCP, DNS (queries), TFTP, SNMP, NTP, RADIUS, Syslog. Some protocols use both: DNS (UDP for queries, TCP for zone transfers and large responses), SNMP.
The exam tests UDP vs TCP when asking 'which protocol does not guarantee delivery' or 'which port does a service use by default?' Knowing that DHCP uses UDP (ports 67/68) and cannot use TCP is important for troubleshooting DHCP relay scenarios.
Protocol Purposes and Security Implications
Each protocol serves a specific purpose. Understanding the purpose helps answer 'which protocol should be used' questions. HTTP (80): unencrypted web traffic. HTTPS (443): encrypted web traffic using TLS. SSH (22): encrypted remote terminal and file transfer. Telnet (23): unencrypted remote terminal — never use over untrusted networks. SMTP (25): server-to-server email. SMTP submission (587): client-to-server email with TLS. RDP (3389): Windows remote desktop — high-risk port, often targeted.
Security hardening questions frequently ask: 'Which protocol should replace Telnet?' → SSH. 'Which port should be blocked to prevent unencrypted web traffic?' → TCP 80. 'Which service uses port 3389 and poses a security risk?' → RDP (Remote Desktop Protocol).