Network+ Ports & Protocols Flashcards
Ports can be: 0-65,535 Reserved Ports: 0-1023 Ephemeral Ports: 1024-65,535
File Transfer Protocol (FTP)
Port 20, 21
Key: File transfer
Transfers files between client and server.
Not encrypted, data is transferred in the clear.
Secure Shell (SSH)
Port 22
Key: Secure remote access
Allows you to take remote control of a computer using a command shell. It uses encryption on both ends.
SSH File Transfer Protocol (SFTP)
Port 22
Key: Secure file transfer protocol
Tunnels FTP through SSH giving us a secure file transfer method.
Telnet
Port 23
Key: Unsecure remote access
Provides text-oriented communication and remote access. Similar to SSH but no security at all.
Note: Old, nobody uses, just know for test.
Simple Mail Transfer Protocol (SMTP)
Port 25
Key: Sending e-mail
Internet standard for SENDING e-mail.
Note: “Send” Mail Transfer Protocol
Domain Name Service (DNS)
Port 53
Key: Domain name services
Converts domain names into IP addresses.
Dynamic Host Control Protocol (DHCP)
Port 67, 68
Key: Dynamic IP addresses
Used to get dynamically assigned IP address and other network configurations automatically.
Trivial File Transfer Protocol (TFTP)
Port 69
Key: Small file transfer
Transmits files in both directions of a client-server connection. Used for booting an OS from a network.
Note: A stripped down version of FTP.
Hyper Text Transfer Protocol (HTTP)
Port 80
Key: Web browsing
The foundation of the world wide web (internet). Designed for hypermedia presentation.
Unsecure on its own
Post Office Protocol v3 (POP3)
Port 110
Key: Receiving e-mail
Used to download email from a remote server.
Network Time Protocol (NTP)
Port 123
Key: Time sync
Time begins with 1…2…3…
Used to sync time between devices
Network Basic Input/Output System (NetBIOS)
Port 139
Key: Windows file sharing
Provides services allowing apps on different computers to communicate over the LAN for file and printer sharing.
Internet Mail Application Protocol (IMAP)
Port 143
Key: Receiving e-mail
Provides email clients to retrieve email from a server. This also allows the email client to edit the email, while the email remains on the server.
Note: POP3 does not have this functionality. These days, you are most likely using IMAP.
Simple Network Management Protocol (SNMP)
Port 161
Key: Network management
Collects and organizes information about managed devices on IP networks.
Note: Things like routers, switches, and can
Lightweight Directory Access Protocol (LDAP)
Port 389
Key: Directory services
Open, vendor-neutral, industry standard for accessing and maintaining directory services.