2.1 Common Network Ports Flashcards
TCP 20
File Transfer Protocol: data transfer
TCP 21
File Transfer Protocol: control port (establishes connection)
TCP 22
SSH - Secure Shell: used to connect a remote device through terminal or command line. Encrypted
TCP 23
Telnet - Telecommunication Network Protocol: login to devices remotely, unencrypted
TCP 25
SMTP - Simple Mail Transfer Protocol: server to server email transfer
Outgoing mail server
UDP 53
DNS - Domain Name System: converts names to IP addresses
UDP 67 & 68
DHCP - Dynamic Host Configuration Pool: automated configuration of IP address, subnet mask and other settings.
67 for DHCP server to receive client requests
68 for DHCP client to send requests
TCP 80
HTTP - Hypertext Transfer Protocol: data communication in web browser and other applications
TCP 443
HTTPS: Hypertext Transfer Protocol Secure: web server communication with encryption
TCP 110
POP3 - Post Office Protocol v3: used by email clients to receive emails from a mail server.
Basic mail transfer
TCP 143
IMAP - Internet Message Access Protocol v4: used by email clients to receive emails.
More advanced email management.
Synchronization across numerous devices
ex. iPhone, iPad, and MacBook all accessing the same inbox
UDP 137
NetBIOS Name Service: name registration, find devices in LAN using the registered name
SMB using NetBIOS
UDP 138
NetBIOS Datagram Service
UDP 139
NetBIOS Session Service: setup session and transfer data between devices
TCP 445
SMB - Server Message Block: used for file sharing, printer sharing, and miscellaneous communications between devices on a network. Modern versions of Windows do not use NetBIOS
UDP 161 & 162
SNMP - Simple Network Management Protocol: used to query devices to check for performance or any types of errors.
161: SNMP manager to agent
162: SNMP agent to manager
TCP 389
LDAP - Lightweight Directory Access Protocol: store and retrieve info in a network directory
TCP 3389
RDP - Remote Desktop Protocol: share a desktop from a remote location
TCP vs UDP
TCP: connection based
- more reliable but slower
- retransmission of lost packets
UDP: connection-less
- prioritizes speed
- common for video streaming
FTP (File Transfer Protocol)
TCP 20 and 21
SSH (Secure Shell)
TCP 22
Telnet
TCP 23
SMTP (Simple Mail Transfer Protocol)
TCP 25
DNS (Domain Name Server)
UDP 53
DHCP (Dynamic Host Configuration Protocol):
For server receiving client requests
UDP 67
DHCP (Dynamic Host Configuration Protocol):
For client sending requests
UDP 68
HTTP (HyperText Transfer Protocol)
TCP 80
HTTPS (HyperText Transfer Protocol Secure)
TCP 443
POP3 (Post Office Protocol v3)
TCP 110
IMAP (Internet Message Access Protocol)
TCP 143
NetBIOS
UDP 137, 138, 139
SMB (Server Message Block)
TCP 445
SNMP (Simple Network Management Protocol):
Manager to agent
UDP 161
SNMP (Simple Network Management Protocol):
Agent to managers
UDP 162
LDAP (Lightweight Directory Access Protocol)
TCP 389
RDP (Remote Desktop Protocol)
TCP 3389
TFTP
Trivial File Transfer Protocol
Uses UDP 69 port