Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

πŸ› οΈ Common Ports & Protocols Cheat Sheet

A quick reference for well-known TCP/UDP ports and their usage. Useful for students, professionals, and anyone studying for certifications like CCNA, CompTIA, or Security+.


πŸ“Œ Well-Known / System Ports (0 – 1023)

PortServiceProtocolDescription
7EchoTCP, UDPEcho service
19CHARGENTCP, UDPCharacter Generator Protocol (rarely used, vulnerable)
20FTP-dataTCP, SCTPFile Transfer Protocol (data)
21FTPTCP, UDP, SCTPFile Transfer Protocol (control)
22SSH/SCP/SFTPTCP, UDP, SCTPSecure Shell, secure logins, file transfers, port forwarding
23TelnetTCPUnencrypted text communication
25SMTPTCPSimple Mail Transfer Protocol (email routing)
53DNSTCP, UDPDomain Name System
67DHCP/BOOTPUDPDHCP Server
68DHCP/BOOTPUDPDHCP Client
69TFTPUDPTrivial File Transfer Protocol
80HTTPTCP, UDP, SCTPWeb traffic (HTTP/1.x, HTTP/2 over TCP; HTTP/3 uses QUIC/UDP)
88KerberosTCP, UDPNetwork authentication system
110POP3TCPPost Office Protocol (email retrieval)
123NTPUDPNetwork Time Protocol
135Microsoft RPC EPMAPTCP, UDPRemote Procedure Call Endpoint Mapper
137-139NetBIOSTCP, UDPNetBIOS services (name service, datagram, session)
143IMAPTCP, UDPInternet Message Access Protocol
161-162SNMPUDPSimple Network Management Protocol (unencrypted)
179BGPTCPBorder Gateway Protocol
389LDAPTCP, UDPLightweight Directory Access Protocol
443HTTPSTCP, UDP, SCTPSecure web traffic (SSL/TLS)
445Microsoft DS SMBTCP, UDPFile sharing, Active Directory
465SMTPSTCPSMTP over SSL/TLS
514SyslogUDPSystem log protocol
520RIPUDPRouting Information Protocol
546-547DHCPv6UDPDHCP for IPv6 (client/server)
636LDAPSTCP, UDPLDAP over SSL
993IMAPSTCPIMAP over SSL/TLS
995POP3STCP, UDPPOP3 over SSL/TLS

πŸ“Œ Registered Ports (1024 – 49151)

PortServiceProtocolDescription
1025Microsoft RPCTCPRPC service
1080SOCKS proxyTCP, UDPProxy protocol
1194OpenVPNTCP, UDPVPN tunneling
1433MS-SQL ServerTCPMicrosoft SQL Server
1521Oracle DBTCPOracle Database listener
1701L2TPTCPLayer 2 Tunneling Protocol
1720H.323TCPVoIP signaling
1723PPTPTCP, UDPVPN protocol (deprecated)
1812-1813RADIUSUDPAuthentication, accounting
2049NFSUDPNetwork File System
2082-2083cPanelTCP, UDPWeb hosting control panel
2222DirectAdminTCPHosting control panel
2483-2484Oracle DBTCP, UDPInsecure & SSL listener
3074Xbox LiveTCP, UDPOnline gaming
3128HTTP ProxyTCPCommon proxy port
3260iSCSI TargetTCP, UDPStorage protocol
3306MySQLTCPDatabase system
3389RDPTCPWindows Remote Desktop
3690SVNTCP, UDPApache Subversion
3724World of WarcraftTCP, UDPGaming
4333mSQLTCPMini SQL
4444Blaster WormTCP, UDPMalware
5000UPnPTCPUniversal Plug & Play
5060-5061SIPTCP, UDPSession Initiation Protocol (VoIP)
5222-5223XMPPTCP, UDPMessaging protocol
5432PostgreSQLTCPDatabase system
5900-5999VNCTCP, UDPRemote desktop (VNC)
6379RedisTCPIn-memory database
6665-6669IRCTCPInternet Relay Chat
6881-6999BitTorrentTCP, UDPFile sharing
8080HTTP Proxy/AltTCPAlternate web port
8443HTTPS AltTCPAlternate secure web port
9042CassandraTCPNoSQL database
9100Printer (PDL)TCPPrint Data Stream

πŸ“Œ Dynamic / Private Ports (49152 – 65535)

These are used for ephemeral connections and custom apps. Safe to use for internal development/testing.


🎯 Most Common Ports for Exams

If you’re preparing for CCNA / CompTIA exams, focus on these:

PortService
7Echo
20, 21FTP
22SSH/SCP
23Telnet
25SMTP
53DNS
67, 68DHCP
69TFTP
80HTTP
88Kerberos
110POP3
123NTP
137-139NetBIOS
143IMAP
161, 162SNMP
389LDAP
443HTTPS
445SMB
636LDAPS
3389RDP
5060-5061SIP (VoIP)

βœ… Conclusion

Familiarity with ports & protocols is essential for:

  • Building secure applications
  • Troubleshooting network issues
  • Passing certification exams

Keep this cheat sheet handy as a quick reference!