Ports Flashcards
FTP control port
TCP 21
SSH
TCP 22
SCP (uses SSH)
TCP 22
Secure Copy
SFTP (uses SSH)
TCP 22 (not to be confused with SSL)
Secure FTP
Telnet
TCP 23
SMTP
TCP 25
Simple Mail Transfer Protocol
SENDS mail to mail servers
TACACS+
TCP 49
DNS name queries
UDP 53
DNS zone stransfers
TCP 53
DHCP client
UDP 68
DHCP server
UDP 67
TFTP
UDP 69
HTTP
TCP 80
Kerberos
UDP 88
POP3
TCP 110
Post Office Protocol
DOWNLOADS mail ON client
SNMP
UDP 161
Simple Network Management Protocol
SNMP trap
UDP 162
Monitors + manages network devices (e.g. routers & switches), can be used to modify config.
traps - notifications w/info sent to a SNMP manager by SNMP agents
NetBIOS
TCP/UDP 137 (rarely used)
UDP 138
TCP 139
Name resolution for NetBIOS names on internal networks
IMAP4
TCP 143
Stores e-mail on mail server
Can be synced across multiple devices
LDAP
TCP 389
Lightweight Access Directory Protocol
For communication with directories (like Windows AD)
Can be encryped with TLS or SSL, uses port 636 when encrypted
HTTPS
TCP 443
SMTP SSL/TLS
TCP 465
IPsec (for VPN with Internet Key Exchange (IKE))
UDP 500
LDAP/SSL
TCP 636
LDAP/TLS
TCP 636
IMAP SSL/TLS
TCP 993
POP SSL/TLS
TCP 995
L2TP
UDP 1701
Layer 2 Tunneling Protocol
Used for VPN tunnels
Normal L2TP has no encryption, but can be used with IPsec
PPTP
TCP 1723
Point-to-Point Tunneling Protocol
Tunneling for VPNs, rarely used due to known vulnerabilities
Remote Desktop Protocol (RDP)
TCP/UDP 3389
Microsoft SQL Server
TCP 1433
FTP data port (active mode)
TCP 20