TCP and UDP ports Flashcards
What are the ways to direct information?
TCP
UDP
What is a socket in networking?
A port number combined with an IP address
Which port and transfer protocol is used for HTTP?
TCP
Port: 80
Which port and transfer protocol is used for HTTPS?
TCP
Port: 443
Which port and transfer protocol is used for DNS?
TCP and UDP
Port: 53
Which port and transfer protocol is used for Telnet?
TCP
Port: 23
Which port and transfer protocol is used for SSH?
TCP
Port: 22
Which port and transfer protocol is used for FTP?
TCP
Port: 21
Which port and transfer protocol is used for TFTP?
UDP
Port: 69
Which port and transfer protocol is used for SNMP?
UDP
Port: 161
Which port and transfer protocol is used for SMTP?
TCP
Port: 25
Which port and transfer protocol is used for POP3?
TCP
Port: 110
Which port and transfer protocol is used for IMAP?
TCP
Port: 143
Which port and transfer protocol is used for RDP?
TCP
Port: 3389
Which port and transfer protocol is used for SMB?
TCP
Ports: 137-139, 445
Uses UNC
Which port and transfer protocol is used for AFP?
TCP
Ports: 427, 548
Which port and transfer protocol is used for LDAP?
TCP or UDP
Port: 389
Enables SSO
What does TCP stand for?
Transmission control protocol
What does UDP stand for?
User datagram protocol
What are the features of TCP?
Reliable Connection-oriented 3 way handshake Sequence numbers Window size Ack (acknowledgement)
What are the features of UDP?
Unreliable
Connectionless
Simple header
What is the command to see listening ports in windows?
netstat -an | find /i “listening”
What is the command to see listening ports in osx?
lsof -iTCP -sTCP:LISTEN -n -p
What is the command to see listening ports in linux?
netstat -l