2.1 Compare and contrast TCP and UDP ports, protocols, and their purposes Flashcards
Computers use port numbers to:
identify protocols and keep the different processes sorted out
The protocol HTTP does what?
Makes the connection to the web server
How does the protocol HTTP work?
It selects an unused port on the computer (known as an outbound port) to send and receive data to and from a website
What is an inbound port?
It is a port used by the websites web server that is open at all times, ready to accept sessions
Transmission Control Protocol (TCP) sessions are known as:
connection-oriented sessions (this means that every packet that is sent is checked for delivery)
User Datagram Protocol (UDP) sessions are known as:
connectionless sessions (this means the messages are sent without an expectation of communication from the receiver.
UDP is used in:
streaming media sessions, such as Voice over IP (VoIP) and gaming
and for protocols that use a simple query and response, such as DNS
When is UDP better than TCP?
for time-sensitive information
When is TCP more beneficial than UDP?
When reliability is important
Port Number(s), Port Type
FTP
20 & 21, TCP/UDP
Port Number(s), Port Type
SSH
22, TCP/UDP
Port Number(s), Port Type
Telnet
23, TCP/UDP
Port Number(s), Port Type
SMTP
25, TCP/UDP
Port Number(s), Port Type
DNS
53, TCP/UDP
Port Number(s), Port Type
HTTP
80, TCP/UDP
Port Number(s), Port Type
POP3
110, TCP/UDP
Port Number(s), Port Type
IMAP
143, TCP
Port Number(s), Port Type
HTTPS
443, TCP/UDP
Port Number(s), Port Type
RDP
3389, TCP/UDP
Port Number(s), Port Type
NetBIOS/NetBT
137-139, TCP/UDP
Port Number(s), Port Type
SMB/CIFS
445, TCP
Port Number(s), Port Type
SLP
427, TCP/UDP
Port Number(s), Port Type
AFP
548, TCP
Port Number(s), Port Type
DHCP
67/68, UDP
Port Number(s), Port Type
LDAP
389, TCP/UDP
Port Number(s), Port Type
SNMP
161/162, TCP/UDP