Ports Flashcards
(52 cards)
What is a port in network communication?
A virtual entry/exit point for communications used by software applications to exchange information
Define protocol in the context of networking.
A set of rules and conventions for data exchange between network devices
What is an IP address used for?
To direct data to the correct system in a network
What is a logical opening in a computer called?
Port
How are ports numbered?
From 0 to 65,535
What are well-known ports numbered from?
0 to 1,023
What is the range of registered ports?
1,024 to 49,151
What are ephemeral ports?
Temporary, short-lived ports for dynamic use, numbered from 49,152 to 65,535
Give examples of well-known ports.
- FTP (20, 21)
- SMTP (25)
- HTTP (80)
- HTTPS (443)
What is the role of ports in data transfer?
They identify specific applications or services on a computer
What is the Transmission Control Protocol (TCP)?
A fundamental protocol in the Internet Protocol Suite that governs data exchange over the internet
What does TCP ensure during data transmission?
- Reliable delivery of packets
- Error checking
- Data sequencing
- Acknowledgment
What is the purpose of the three-way handshake in TCP?
To establish a connection between two systems
What are the three steps of the TCP three-way handshake?
- SYN (Synchronize)
- SYN-ACK (Synchronize-Acknowledgement)
- ACK (Acknowledgement)
What is the User Datagram Protocol (UDP)?
A communication protocol used for time-sensitive transmissions on the internet
What is the primary advantage of UDP over TCP?
Lower latency and reduced processing overhead
What is a datagram in the context of UDP?
Term for data packets in UDP
What does ICMP stand for?
Internet Control Message Protocol
What is the purpose of ICMP?
To diagnose network communication issues
What is the function of the ping utility?
To test host reachability on an IP network
What is the default port for HTTP?
Port 80
What is the default port for HTTPS?
Port 443
What is the main difference between HTTP and HTTPS?
HTTP is unencrypted while HTTPS adds encryption via SSL/TLS
What does SMTP stand for?
Simple Mail Transfer Protocol