Common Network Ports( Comptia Objective 2.1) Flashcards

1
Q

What is port TCP 20/21 used for?

A

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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is port TCP/22 used for?

A
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is port TCP/23 used for?

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is port TCP/25 used for

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is port UDP/53 used for?

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is port TCP/80 used for?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Port TCP/443 used for?

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is port TCP/110 used for?

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is port TCP/143 used?

A

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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is port TCP/3389 used for?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is port TCP/445 used for

A

It is used for SMB(Server Message Block direct communication. )
- Direct SMB communication over TCP without the Netbios transport

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is port UDP/137 used for?

A

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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is port UDP/138 used for?

A

It is used for SMB on older Windows Systems for NetBIOS over TCP/UDP)
- udp/138 used for NetBIOS datagram service( nbdatagram)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is port TCP/139 used for?

A

It is used by SMB on older Windows Systems for NetBIOS over TCP/UDP)
- tcp/139 - used for NetBIOS session service( nbsession)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is port TCP/548 used for?

A

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)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are ports TCP/427 and UDP/427 used for?

A

They are used for SLP( Service Location Protocol) which populates a list of available devices using AFP( Apple Filing Protocol) for MacOS.

17
Q

What are ports UDP/67 and UDP/68 used for?

A

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
18
Q

What is port TCP/389 used for?

A

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.
19
Q

What is port UDP/161 used for?

A

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
20
Q

What is port UDP/162 used for?

A

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
21
Q

What are the secure ports used for SMTP?

A
  • Port 587 is now the standard. 465 used to be used but has now been deprecated.
22
Q

What is the secure port used for POP3?

A
  • Secure port TCP/995
23
Q

What is the secure port used for IMAP?

A
  • Secure port TCP/993
24
Q

What is the difference between TCP and UDP ports?

A
  • 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. .
25
Q

What port is used for more secure version of LDAP

A
  • TCP port 636
26
Q

What are ports TCP/UDP 989/990 used for

A
  • FTPS ( File Transfer Protocol Secure)

- Commonly used more in organizations now to ensure secure transmission of files over a network.