Ports Flashcards
Well-Known Ports
Ports 0 to 1023 are considered well-known and are assigned by the Internet Assigned Numbers Authority (IANA)
Registered Ports
Ports 1024 to 49,151 are registered with IANA and are the usually assigned to proprietary protocols.
Dynamic or Private Ports
Ports 49,152 to 65,535 can be used by any application without being registered with IANA. Usually used for temporary outbound connections, gaming and instant message chats.
FTP
File Transfer Protocol; Port 20, 21
Transfers computer files between a client and a server on a computer network; data is in the clear.
SSH
Secure Shell; Port 22
Secure remote control of another machine using a text-based environment.
Cryptographic network protocol for operating network services securely over an unsecured network; best know for remote login to computer systems using a command shell
SFTP
SSH File Transfer Protocol; Port 22
Using FTP for file access, file transfer, and file management through a secure shell tunnel.
Telnet
Telnet; Port 23
Insecure remote access via a command prompt. Very similar to SSH, but it is not secure; everything is sent in the clear (not encrypted). It should never be used on an insecure network (like the internet) because username, password, everything is in the clear.
SMTP
Simple Mail Transfer Protocol; Port 25
Internet standard for sending electronic messages. Think SMTP when sending mail.
DNS
Domain Name Service; Port 53
DNS converts domain names to IP addresses or IP addresses to domain names.
Hierarchical, decentralized naming system for computer, services, or other resources connected to the internet or a private network.
DHCP
Dynamic Host Control Protocol; Port 67, 68
DHCP automatically assigns IP addresses and other network configuration parameters to network clients.
TFTP
Trivial File Transfer Protocol; Port 69
Transmits files in both directions (client to server AND server to client) using an application. Usually used for requesting configuration files from a router or a switch or booting up an operating system from a network drive. It doesn’t provide any authentication.
It’s basically a stripped down version of FTP.
HTTP
Hypertext Transfer Protocol; port 80 - unsecured web-browsing.
POP3
Post Office Protocol v3; Port 110
Used by local email clients to retrieve emails from a remote server over TCP connection.
Think downloading email files to your computer so you can read it offline.
NTP
Network Time Protocol; Port 123
Clock sync between computer systems (additional detail: clock sync over packet-switched, variable-latency data networks).
Remember: Port 123, like keeping time.
NetBIOS
Network Basic Input/Output System; Port 139
NetBIOS provides services allowing applications on separate computers to communicate over a LAN connection for file and printer sharing