Skip to content

Instantly share code, notes, and snippets.

@timotheos
Last active April 16, 2018 03:48
Show Gist options
  • Save timotheos/d9c7a97041a5415fe3651cd7741e80a0 to your computer and use it in GitHub Desktop.
Save timotheos/d9c7a97041a5415fe3651cd7741e80a0 to your computer and use it in GitHub Desktop.
Port selection cheatsheet

Port Selection Cheatsheet

(Obtained from Pearson IT Certification){http://www.pearsonitcertification.com/articles/article.aspx?p=1868080}

Common TCP/IP Protocols and Ports

FTP - TCP - 20/21
SSH - TCP - 22
Telnet - TCP - 23 - (Unsecure)
SMTP (Simple Mail Transfer Protocol) - TCP - 25
DNS - TCP/UDP - 53
DHCP (Dynamic Host Configuration Protocol) - UDP - 67/68 - DHCP is used on networks that do not use static IP address assignment (almost all of them)
TFTP (Trivial File Transfer Protocol) - UDP - 69
HTTP - TCP - 80
POP version 3 - TCP - 110 - used for mail
NTP (Network Time Protocol) - UDP - 123 - used to syncronize the devices on the net.
NetBIOS - TCP/UDP - 137/138/139 - usually used on windows machines
IMAP - TCP - 143 - used for mail
SNMP - TCP/UDP - 161/162 - management for administrators
BGP (Border Gateway Protocol) - TCP - 179 - traffic management
LDAP (Lightweight Directory Access Protocol) - TCP/UDP - 389 - maintaining distributed directory information
HTTPS - TCP - 44
LDAPS (Lightweight Directory Access Protocol over TLS/SSL) - TCP/UDP - 636
FTP over TLS/SSL - TCP - 989/990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment