Ports Flashcards
Non-ephemeral port numbers
0 - 1023
Permanent port numbers
Ephemeral port numbers
1024 - 65535
Temporary port numbers
FTP
TCP 20 (active mode data)
TCP 21 (control)
File Transfer Protocol
SSH
TCP 22
Secure Shell
SFTP
TCP 22
Secure File Transfer Protocol
Uses SSH for encryption
Telnet
TCP 23
SMTP
TCP 25 (SMTP using plaintext)
TCP 587 (SMTP using TLS)
Simple Mail Transfer Protocol
DNS
UDP 53
TCP 53 (may be used for large transfers)
Domain Name System
DHCP
UDP 67 / 68
Dynamic Host Configuration Protocol
TFTP
UDP 69
Trivial File Transfer Protocol
HTTP
TCP 80
Hypertext Transfer Protocol
POP3
TCP 110 (plaintext)
TCP 995 (POP3 over TLS)
Post Office Protocol v3
NTP
UDP 123
Network Time Protocol
IMAP4
TCP 143 (plaintext)
TCP 993 (IMAP over TLS)
Internet Message Access Protocol v4
SNMP
UDP 161 (gather network stats)
UDP 162 (traps, alerts, notifications)
Simple Network Management Protocol