Ports & Protocols Flashcards
What is a Port?
logical communication endpoint that exists on your computer or server.
What is an Inbound Port?
used when a computer or server is listening for a connection
What is an Outbound Port?
open by a computer whenever it wants to connect to a given server.
What are the Well-Known Ports?
any port that is numbered between zero and 1023
Called well known ports because they are assigned by the Internet Assigned Numbers Authority (IANA)
What protocol and port number is used for secure web browsing?
Well-Known Port
HTTPS
Port 443
What protocol does port 23 use?
Telnet
What are Registered Ports?
Ports 1024 to 49,151 are considered registered and are usually assigned to proprietary protocols
What port does the Microsoft SQL server use?
Port 1433
What port does the RDP (Remote Desktop Protocol) use?
port 3389
What are the Dynamic and Private Ports?
Port 49,152 to 65,535 can be used by any application without being registered with IANA
What is a Protocol?
Rules governing device communication and data exchange
What to know for ports for the Sec+ exam
- Memorize the port number.
- Memorize the protocol used by that port by default.
- I want you to know whether the protocol supports TCP or UDP connections.
- I want you to know a basic description of what that port or protocol is going to be used for.
Port 21 (TCP)
Used for: FTP (File Transfer Protocol)
FTP is going to be used to transfer files from a host to host, and it operates over port 21 using TCP.
Port 22 (TCP)
Used for: SSH, SCP, SFTP
SSH is used for remote control or remote access using a text-based environment to a remote server.
SCP is going to provide with you a secure copy functions over port 22
SFTP will provide secure file transfers over port 22 as well.
Port 23 (TCP)
Used for Telnet
Telnet is a protocol used for remotely accessing network devices and it operates over port 23 using TCP.
Port 25 (TCP)
Used for: SMTP (Simple Mail Transfer Protocol)
Responsible for sending emails over port 25 using TCP