Comptia Ports
18 community-sourced questions and answers. Free — no login.
Remote Desktop Protocol (RDP)
TCP/UDP 3389
File Transer Protocol (FTP)
TCP 20 Active mode/Data Transfer TCP 21 Control/Commands (Default)
Secure Shell (SSH)
TCP Port 22
Telnet
TCP Port 23
Simple Mail Transfer Protocol (SMTP)
Port 25
Domain Name System (DNS)
Port 53
Hypertext Transfer Protocol (HTTP)
Port 80
Post Office Protocol version 3 (POP3)
TCP Port 110
Internet Message Access Protocol (IMAP)
Port 143
Hyper Text Transfer Protocol Secure (HTTPS)
Port 443
Server Message Block (SMB)
Ports 137, 139, 445
Apple Filing Protocol (AFP)
Port 548
NetBIOS (Network Basic Input/Output System)
Ports 137, 138, 139
Service Location Protocol (SLP)
Port 427
Dynamic Host Configuration Protocol (DHCP)
Port 67/68
Lightweight Directory Access Protocol (LDAP)
Port 389
Simple Network Management Protocol (SNMP)
TCP Ports 161/162
What is the difference between TCP Ports and UDP Ports?
TCP and UDP are both transport layer protocols. TCP is a connection orientated protocol and provides reliable message transfer. UDP is a connection less protocol and does not guarantee message delivery.
Looking for a different version?
CBTs get updated every year. Search for the exact version you're taking (e.g. "cyber awareness 2025").
Search all study materials