CompTIA Network+ & Security+ Port Numbers Cheat Sheet (2026 Reference)

Complete searchable TCP/UDP port numbers sheet covering SSH, DNS, DHCP, NTP, LDAPS, SNMPv3, Syslog, RADIUS, TACACS+, and SMB with exam security notes.

Exam Code: N10-009 / SY0-701 | Track: Networking & Infrastructure | Recommended Course: CompTIA Network+ (N10-009) Live Bootcamp

Core Infrastructure, Remote Access & File Transfer Ports

Must-memorize TCP/UDP port numbers tested heavily on CompTIA Network+ (N10-009) and Security+ (SY0-701).

Port & TransportProtocolSecurity StatusExam Tip / Architecture Note
20 / 21 (TCP)FTP (Data / Control)UnencryptedLegacy cleartext file transfer; replace with SFTP (22) or FTPS (990)
22 (TCP)SSH / SCP / SFTPEncrypted (Asymmetric + AES)Key-based auth beats passwords; blocks sniffing vs Telnet/FTP
23 (TCP)TelnetCleartext (Legacy)Never use in production; switch remote CLI to SSH port 22
53 (UDP / TCP)DNSCleartext (UDP) · DoT 853UDP 53 for standard lookups; TCP 53 for Zone Transfers (AXFR) & large replies
67 / 68 (UDP)DHCPUnauthenticated BroadcastPort 67 Server / Port 68 Client (DORA handshake); mitigate rogues via DHCP Snooping
69 (UDP)TFTPUnencryptedMinimal overhead; PXE boot images and router config staging
80 / 443 (TCP)HTTP / HTTPS (TLS)HTTPS Encrypted (443)QUIC/HTTP3 adds UDP 443; enforce HSTS + TLS 1.3
123 (UDP)NTPAuthenticated optional (NTS)Prevents Kerberos clock-skew failures and keeps SIEM logs correlated
161 / 162 (UDP)SNMP / SNMP TrapSNMPv3 authPriv Encrypted161 Manager polling; 162 Agent asynchronous trap alerts
445 (TCP)SMB / CIFSSMB 3.x Signed/EncryptedWindows file sharing; primary ransomware lateral-movement vector (block at WAN)
3389 (TCP / UDP)RDPTLS / NLA ProtectedNever expose directly to WAN; restrict behind Azure Bastion / VPN + MFA

Identity, Directory, Email & SIEM Logging Ports

Enterprise Active Directory, encrypted messaging, and security telemetry ports.

Port & TransportProtocolSecurity ModeKey Operational Detail
25 (TCP)SMTPOpportunistic TLSServer-to-server mail relay; 587 for authenticated client submission
88 (TCP / UDP)KerberosTicket-based (AES)Active Directory SSO authentication; sensitive to NTP drift >5 mins
143 / 993 (TCP)IMAP / IMAPSTLS on TCP 993Synchronizes mail folders across multiple devices securely on 993
389 / 636 (TCP)LDAP / LDAPSTLS on TCP 636636 prevents plaintext Active Directory bind credential exposure
514 (UDP) / 6514 (TCP)Syslog / Secure SyslogTLS on TCP 6514Forwards firewall, switch, and Linux host logs to enterprise SIEM
1812 / 1813 (UDP)RADIUS Auth / AcctShared Secret / RadSecUDP-based 802.1X wireless & VPN AAA; TACACS+ uses TCP 49
49 (TCP)TACACS+Full Payload EncryptedCisco/network device CLI AAA separating Auth, Authz, and Accounting

Frequently Asked Questions

Why do both CompTIA Network+ and Security+ test unencrypted vs encrypted port pairs?

Performance-based questions frequently ask you to harden firewall ACLs by disabling plaintext ports (`21 FTP`, `23 Telnet`, `389 LDAP`, `80 HTTP`) and permitting secure encrypted equivalents (`22 SFTP/SSH`, `636 LDAPS`, `443 HTTPS`).