Common Network Ports( Comptia Objective 2.1) Flashcards
What is port TCP 20/21 used for?
It is used to handle FTP( File Transfer Protocol). Which transfers files between systems
- TCP/20 used used for active mode data while
- TCP/21 is used for control of the communication
- Has security built in( authenticates with username/password)
- Full featured functionality( list, add, delete, etc)
What is port TCP/22 used for?
This is used for SSH( Secure Shell) - Is an Encrypted communication link - Used to login remotely to a device - Looks like a console command line similar to Telnet however Telnet is not encrypted.
What is port TCP/23 used for?
This is used for Telnet - Telecommunication Netwrok
- TCP/23
- Used to login remotely to a device
- It is In-The-Clear communication and is not encrypted like SSH, not secure at all
- Not commonly used for productive systems.
What is port TCP/25 used for
This is used for SMTP - Simple Mail Transfer Protocol
- Used for sending emails Server to server email transfer
- TCP/25
- Also used to send mail from device to a mail server/commonly configured on mobile devices and email
- Not used for receiving emails. This is left to IMAP and POP3.
What is port UDP/53 used for?
It is used for DNS( Domain Name System) which converts names into IP addresses - UDP/53
- E.G. www.professormesser.com = 162.159.246.164
- DNS is critical web resources for this reason DNS is usually stored on multiple DNS servers.
What is port TCP/80 used for?
It is used for HTTP( Hypertext Transfer Protocol)
- tcp/80 used for Web server communication
- Your Web browser communicates to a web server when typing in addresses
- Considered “ In The Clear communication” and is not encrypted. Supported by all web servers and clients.
- Not commonly used anymore due to HTTPS being encrypted
What is Port TCP/443 used for?
It is used for HTTPS( Hypertext Transfer Protocol Secure)
- tcp/443 used for Web server communication
- Your Web browser communicates to a web server when typing in addresses
- is the encrypted version which is not “ In the clear communication” like TCP port 80.
- This is the most commonly used port today for web server communication.
What is port TCP/110 used for?
It is used for POP3
- This is used for receiving emails from an email server - Authenticate and transfer
- POP3( Post Office Protocol Version 3)
- tcp/110 used for basic mail transfer functionality.
What is port TCP/143 used?
It is used for IMAP4( Internet Message Access Protocol v4)
- tcp/143 used for receiving emails over a an email server but provides more functionality than POP3 such as management of email inbox/ folders etc from multiple clients( e.g outlook, gmail etc)
- Can be accessed from multiple devices.
What is port TCP/3389 used for?
It is used for RDP - Remote Desktop Protocol
- This shares a desktop from a remote location over port tcp/3389
- Remote Desktop Services on many Windows versions
- Can connect an entire desktop or just an application.
- Is available on Windows, MacOS, Linux, Unix, iPhone, Android and others
What is port TCP/445 used for
It is used for SMB(Server Message Block direct communication. )
- Direct SMB communication over TCP without the Netbios transport
What is port UDP/137 used for?
It is used for SMB older Windows Systems for NetBIOS over TCP/UDP)
- udp/137 Used to find a device on a network by its name via NetBIOS name services(nb name)
What is port UDP/138 used for?
It is used for SMB on older Windows Systems for NetBIOS over TCP/UDP)
- udp/138 used for NetBIOS datagram service( nbdatagram)
What is port TCP/139 used for?
It is used by SMB on older Windows Systems for NetBIOS over TCP/UDP)
- tcp/139 - used for NetBIOS session service( nbsession)
What is port TCP/548 used for?
It is used for AFP( Apple Filing Protocol)
- File services for MacOS
- tcp/548
- Works with SLP( Service Location Protocol) to populate a list of available devices
- Used for file management ( e.g copy, move, delete files etc)
What are ports TCP/427 and UDP/427 used for?
They are used for SLP( Service Location Protocol) which populates a list of available devices using AFP( Apple Filing Protocol) for MacOS.
What are ports UDP/67 and UDP/68 used for?
They are used for DHCP( Dynamic Host Configuration Protocol)
- Automated configuration of IP Addresses, subnet mask and other options
- This requires an DHCP server
- IP addresses are assigned in real time from a pool
- Each system given a lease and must renew at set intervals
- Can also be used for DHCP reservation which reserves an IP address for a specific device via it’s MAC address
What is port TCP/389 used for?
It is used for LDAP( Lightweight Directory Access Protocol)
- tcp/389 used to Store and retrieve information in a network directory used as usernames and passwords for users on the network
- Commonly used in Microsoft Active Directory.
What is port UDP/161 used for?
It is used for SNMP( Simple Network Management Protocol)
- Used to gather statistics from network devices
- udp/161 is used specifically for SNMP Queries
- Can be many versions of SNMP v1 - Is the original version and provides structured tables and was in-the-clear-communication and non encrypted
- v2 was a good step ahead provided data type enhancements/ bulk transfers but Still in-the-clear communication
- v3 Is now the secure standard
- Provides message integrity
- Authentication
- Encryption
What is port UDP/162 used for?
It is used for SNMP( Simple Network Management Protocol)
- Used to gather statistics from network devices
- udp/162 is used specifically for SNMP Traps or alarms
- Can be many versions of SNMP v1 - Is the original version and provides structured tables and was in-the-clear-communication and non encrypted
- v2 was a good step ahead provided data type enhancements/ bulk transfers but Still in-the-clear communication
- v3 Is now the secure standard
- Provides message integrity
- Authentication
- Encryption
What are the secure ports used for SMTP?
- Port 587 is now the standard. 465 used to be used but has now been deprecated.
What is the secure port used for POP3?
- Secure port TCP/995
What is the secure port used for IMAP?
- Secure port TCP/993
What is the difference between TCP and UDP ports?
- TCP ports are known as connection orientated(Handshake required) sessions. Each packet is checked for delivery and involves a 3 stage process of Sync, Sync and Acknowledge and finally Client acknowledgement
- UDP ports are defined as connectionless sessions, they don’t await confirmation of transmission. E.g. streaming media. There is no hand shake. .
What port is used for more secure version of LDAP
- TCP port 636
What are ports TCP/UDP 989/990 used for
- FTPS ( File Transfer Protocol Secure)
- Commonly used more in organizations now to ensure secure transmission of files over a network.