Basic Ports Flashcards

1
Q

What port is FTP?

A

21

The File Transfer Protocol is a standard network protocol used for the transfer of computer files between a client and server on a computer network. FTP is also used by web browsers. To access an FTP site, you would use the prefix ftp://. Windows, Linux & macOS contain a command-line FTP program, type ftp, press Enter, and then type help at the FTP prompt to see the commands you can use.

FTP sites with downloads available to any user support anonymous FTP. Anonymous FTP is a means by which archive sites allow general access to their archives of information. These sites create a special account called “anonymous”. User “anonymous” has limited access rights to the archive host, as well as some operating restrictions. Some FTP sites require the user to log in with a specified username and password. One drawback to FTP is that it is not considered secure due to FTP login credentials being transmitted & authenticated in clear-text. To increase security, use FTP secured with SSL/TLS (FTPS) or Secure File Transfer Protocol (SFTP). FTP uses port 21.

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

What port is SSH?

A

22

Secure Shell is a cryptographic network protocol for operating network services securely over an unsecured network. SSH is more secure than FTP and Telnet. Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH. SSH servers housing data a client wants to retrieve utilizes port 22 and would need to have that port open to get access to that data. As previously mentioned, regular FTP is an insecure port, whereas, Secure FTP (SFTP) is secure by way of utilizing TCP port 22 as it run over an SSH session.

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

What port is Telnet?

A

23

Telnet is an application protocol used on the internet or local area network to provide a bidirectional interactive text-oriented communication facility using a virtual terminal connection. A Telnet emulation enables a user to connect to a remote host or device using a telnet client over port 23. A telnet connection allows for a user to telnet into a computer that hosts their website to manage their files remotely versus simply downloading pages and files as he/she would with an http:// or ftp:// connection. Before a Telnet connection from a client can be established, a remote computer must already be configured to accept a Telnet login on port 23 and that port must be open before a login can take place.

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

What port is SMTP?

A

25

Simple Mail Transfer Protocol is a communication protocol for email transmission. SMTP utilizes port 25 to send email from a client system to an email server, which also uses SMTP to relay messages to the receiving email server. To configure email settings on a client device, check with the ISP or organization that provides internet access for the settings such as: server(s) type (SMTP, POP3, or IMAP), port(s) used, username/password for access to the server(s), and the security settings (whether SSH is used).

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

What port is DNS?

A

53

Domain Name System is a hierarchical and decentralized naming system for computers, services, or other resources connected to the internet or a private network. It associates various information with domain names assigned to each of the participating entities. Most prominently, it translates more readily memorized domain names to numerical IP addresses which are needed for locating and identifying computer services and devices with the underlying network protocols. In other words, DNS can be thought of as being the phone book for the internet. Instead of memorizing IP addresses to get a website such as Google, one could simply type in the URL (uniform resource locator…aka the web address bar) www.Google.com and the DNS will match that name up to the IP address associated with www.Google.com to take your client device to Google. When manually configuring an IP address, you typically provide the IP address of a DNS server (or the IP addresses of multiple DNS servers) as part of the configuration process. DNS uses port 53. Some techs refer to DNS as either Domain Name Service or Domain Name Server, which is not all the way technically correct, but is understood in the industry with other IT professionals.

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

What port(s) is DHCP?

A

67/68

Dynamic Host Configuration Protocol is a network management protocol used on IP networks whereby a DHCP server dynamically assigns an IP address and other network configuration parameters to each device (PCs, printers, servers, routers, etc) on a network so they can communicate with other IP networks. A DHCP server enables computers to request IP addresses and networking parameters automatically from the ISP, reducing the need for a network administrator or a user to manually assign IP addresses to all network devices. In the absence of a DHCP server, a computer or other device on the network needs to be manually assigned an IP address, or to assign itself an APIPA address, the latter of which will not enable it to communicate outside its local network. If you get your address from a DHCP server, you are getting your address assigned dynamically, and it could change periodically. Some devices on the network require static addresses that do not change, such as printers, servers which have to be assigned manually by a network administrator. This enables these devices to be more reliable and easily accessible over time. DHCP uses ports 67 and 68, where UDP port number 67 is the destination port of a server, and UDP port number 68 is used by the client.

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

What port is HTTP

A

80

Hypertext Transfer Protocol is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access, for example by a mouse click or by tapping the screen in a web browser. HTTP is used by all major web browsers such as Internet Explorer, Microsoft Edge, Firefox, & Chrome. HTTP for unsecured sites use the prefix http:// whereas sites that are secured with various forms of encryption (HTTP Secure or HTTP over SSL [HTTPS]) use the prefix https://. HTTP uses port 80 and HTTPS uses port 443. To check to see if a website is secure, most browsers will display a closed padlock symbol right next to the website’s address in the web address bar.

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

What port is POP3?

A

110

Post Office Protocol version 3 is an application-layer internet standard protocol used by email clients to retrieve email from a mail server. Email is downloaded from the mail server to folders on a local system. For users who frequently switch between computers and/or mobile devices, POP3 email is not a suitable solution for checking emails on multiple devices due to the email being downloaded onto only one device when a client device puts in a request. Users who utilize POP3 servers to retrieve email typically use SMTP to send messages. POP3 is the current version/standard and uses port 110.

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

What port is IMAP?

A

143

Internet Message Access Protocol is an internet standard protocol used by email clients to retrieve email messages from a mail server over a TCP/IP connection. IMAP was designed with the goal of permitting complete management of an email box by multiple email clients, therefore clients generally leave messages on the server which can be retrieved from multiple devices from any location until the user explicitly deletes them. IMAP4 is the current version of IMAP. To configure an IMAP-based email account, you must select IMAP as the email server type, specify the name of the server, your username/password, and whether the server uses SSL. IMAP uses port 143.

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

What port(s) is SNMP?

A

161/162

Simple Network Management Protocol is an internet standard protocol for collecting and organizing information about managed devices on IP networks and for modifying that information to change device behavior. Devices that typically support SNMP include cable modems, routers, switches, servers, workstations, printers, etc. and they are often incorporated into software known as a network management system (NMS). The NMS is the main software installed on a computer known as a manager that controls everything SNMP-based. The devices to be monitored are known as managed devices. NMS installs a small piece of software known as an agent that allows the NMS to monitor those managed devices. SNMP uses ports 161 and 162.

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

What port is LDAP?

A

389

Lightweight Directory Access Protocol is an open, vendor-neutral, industry standard application protocol for accessing and maintaining distributed directory information services over an IP network. Domain directory services play an important role in developing intranet and internet applications by allowing the sharing of information about users, systems, networks, services, and applications throughout the network. As such, directory services may provide any organized set of records, often with a hierarchical structure, such as a corporate email directory. Microsoft refers to this as directory services. LDAP uses port 389.

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

What port is SLP?

A

427

Service Location Protocol is a service discovery protocol that allows computers and other devices to find services in a LAN without prior configuration. SLP allows devices to provide their configuration information to hosts. SLP has been designed to scale from small, unmanaged networks to large enterprise networks. SLP is used by devices to announce services on a local network, such as printers on the LAN. Prior to SLP, devices needed to have services specifically configured. SLP uses port 427.

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

What port is HTTPS?

A

443

Hypertext Transfer Protocol is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, where hypertext documents include hyperlinks to other resources that the user can easily access, for example by a mouse click or by tapping the screen in a web browser. HTTP is used by all major web browsers such as Internet Explorer, Microsoft Edge, Firefox, & Chrome. HTTP for unsecured sites use the prefix http:// whereas sites that are secured with various forms of encryption (HTTP Secure or HTTP over SSL [HTTPS]) use the prefix https://. HTTP uses port 80 and HTTPS uses port 443. To check to see if a website is secure, most browsers will display a closed padlock symbol right next to the website’s address in the web address bar.

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

What port is SMB?

A

445

Server Message Block, one version of which was also known as Common Internet File System (CIFS), is a network communication protocol for providing shared access to files, printers, and serial ports between nodes on a network. It also provides an authenticated interprocess communication mechanism by way of using packets that authenticate remote computers. SMB uses ports 137-139 for SMB traffic using NetBIOS over TCP (NetBT) and 445 for SMB hosted on TCP. CIFS was originally used as the standard method for sharing files via corporate intranets and the internet. CIFS has now been widely replaced by updated versions of SMB (SMB 2.0 and 3.0).

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

What port is AFP?

A

548

Apple Filing Protocol, formerly known as AppleTalk Filing Protocol, is a proprietary network protocol, and part of the Apple File Service (AFS), that offers file services for macOS and the classic Mac OS. Apple Filing Protocol uses TCP/IP for transport and utilizes port 548. macOS 10.9 (Mavericks) and newer versions use AFP to connect to devices running older macOS versions and for Apple’s Time Machine backup app.

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

What port is RDP?

A

3389

Remote Desktop Protocol is a proprietary protocol developed by Microsoft which provides a user with a graphical interface to connect to another computer over a network connection. The user employs RDP client software for this purpose (Remote Desktop Services), while the other computer must run RDP server software (Remote Desktop Connection). RDP uses port 3389.

17
Q

What ports are NetBIOS/NetBT?

A

137-139

Network Basic Input/Output System (NetBT means NetBIOS over TCP/IP) is a protocol that allows some legacy applications that were developed in 1987 (before the TCP/IP became the standard) to work on larger networks and the internet. NetBIOS/NetBT uses ports 137-139.