aum Posted March 21, 2022 Share Posted March 21, 2022 This article takes a look at common port numbers and their associated services, and which transport protocol they use. One of the many fundamental things to know as a server administrator is the function and port number used by some common services. Just as the IP address identifies the computer, the network port identifies the application or service running on the computer. I’m sure you’ve heard the term “port” before, but what does it mean in the world of computers? What’s a Network Port? In computer networking, a port is a communication endpoint. Typically, ports identify a specific network service assigned to them. Within an operating system, the primary use of a port number is to transfer the data between a computer network and an application. Port numbers are range from 0 to 65535. They are divided into three sub-ranges: Well-known ports (0-1023) – assigned to specific service by IANA (Internet Assigned Numbers Authority). On Linux systems, only privileged programs that run as root can use ports under 1024. Registered ports (1024-49151) – ports that an organization can register with IANA to be used for a particular service. Dynamic ports (49152-65535) – used by client programs. There are two primary transport protocols in the networking that uses port numbers -TCP and UDP. TCP TCP stands for Transmission Control Protocol. It is a connection-oriented protocol. This means that before exchanging data, the communicating devices should establish a connection and then shut it thereafter. TCP is the most widely used networking protocol. It is incredibly dependable, and it is used for everything from browsing the web to sending emails and file transfers. UDP UDP stands for User Datagram Protocol. It is a connectionless protocol. This is due to the lack of overhead associated with creating, maintaining, and terminating connections. For broadcast and multicast network transmission, UDP is a good choice. Common TCP and UDB Default Ports Following are some of the common TCP and UDP default ports. 21 (TCP, UDP) – FTP Port 21 is commonly associated with FTP (File Transfer Protocol). FTP is for transferring files between a client and a server. It is usually regarded as a “non-secure” file transfer protocol. This is because FTP sends data in clear text and provides an anonymous option that does not require a password. However, FTP is a trusted and still widely used protocol for transferring files. 22 (TCP, UDP) – SSH SSH, or Secure Shell Protocol, is a network communication protocol used to perform operations on remote computers but it may also be used for transferring data. Whenever we run a command through default SSH port number 22, a connection is established between client and server. SSH was developed as a safe substitute for the unencrypted Telnet protocol, and it utilizes cryptographic techniques to ensure that all communication to and from the remote server is encrypted. 23 (TCP) – Telnet Port 23 is typically used by the Telnet protocol. The protocol is often used for an administrative command-line interface in networking equipment such as routers and switches. However, because the protocol is unencrypted, it is normally only used safely within a local area network, as the data exchanged is in clear text. 25 (TCP) – SMTP Port 25 is the original standard email SMTP (Simple Mail Transfer Protocol) port and the oldest since it first debuted in 1982. Even after 4 decades SMTP on port 25 is the basic standard for sending email via the internet between mail servers. 53 (TCP, UDP) – DNS DNS (Domain Name System) turns domain names into IP addresses. People may type normal words into their browsers without needing to remember the IP address for each website thanks to DNS servers. DNS has been designed to use both UDP and TCP port 53, with UDP being the default, and fall back to using TCP when it is unable to communicate on UDP. 67,68 (UDP) – DHCP DHCP (Dynamic Host Configuration Protocol) provides network addresses to dynamically configured hosts on a TCP/IP network. It uses UDP ports 67 and 68. Port 67 should be used by the server and port 68 by the client. 80 (TCP) – HTTP Port 80 is the port number assigned to the commonly used internet communication protocol HTTP (Hypertext Transfer Protocol). The HTTP protocol defines the format for communication between internet browsers and websites. In other words, port 80 uses to send and receive page requests from a webserver. The web traffic that passes through the port remains in plain text. 110 (TCP) – POP3 POP3 (Post Office Protocol version 3) is a mail protocol used to retrieve mail from a remote server to a local email client. It is a relatively simple mail protocol, which makes it less prone to errors and makes implementation much easier. The default POP3 port is 110. 111 (TCP, UDP) – Portmapper Portmapper service is required to run NFS both on the client and the server-side. It runs on port 111 for both TCP and UDP protocols. Portmap makes the dynamic binding of remote programs possible. 137 (TCP, UDP) – NetBIOS Port 137 is utilized by NetBIOS (Network Basic Input/Output System) Name service. NetBIOS’ main purpose is to allow applications on different computers to communicate and establish sessions to access shared resources like files and printers, as well as to locate each other via a local area network (LAN). 143 (TCP, UDP) – IMAP IMAP (Internet Message Access Protocol) is a mail protocol used for accessing email on a remote web server from a local client. By default, the IMAP protocol works on port 143 which is the default IMAP non-encrypted port. 161, 162 (UDP) – SNMP SNMP (Simple Network Management Protocol) is a set of protocols for network management and monitoring. Firewalls, routers, switches, servers, printers, bridges, NAS disks, UPS, and other network devices are commonly monitored using it. SNMP ports are utilized via UDP on port 161 for SNMP Managers communicating with SNMP Agents and via UDP on port 162 when agents send unsolicited SNMP traps to the SNMP Manager. 443 (TCP) – HTTPS HTTPS stands for HyperText Transfer Protocol Secure. Port 443, a web browsing port, is primarily used for HTTPS services. It is a port that billions of people across the globe use every single day. Over 95% of secured websites use HTTPS via port 443 for secure data transfer. 587 (TCP) – SMTP Port 587 is the standard secure SMTP (Simple Mail Transfer Protocol) port. It is the default mail submission port. This is the one that will provide the best results when users submit an email to be routed via a proper mail server. The use of port 587 in conjunction with TLS encryption ensures that email is sent securely and following the IETF’s requirements. 993 (TCP) – IMAPS IMAPS (IMAP over SSL) means that IMAP traffic travel over a secure socket to a secure port. When you’re using an encrypted IMAP connection, the default port is 993. It helps ensure your safety and privacy on the internet. Conclusion Now you know that the network ports are provided by the TCP or UDP protocols. Port numbers are used to determine what protocol incoming traffic should be directed to. For further reference, you can refer to the full list of network port numbers given in RFC 1700. Source Karlston, alf9872000, Adenman and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Administrator DKT27 Posted March 21, 2022 Administrator Share Posted March 21, 2022 Two things to mention. FTPS is encrypted and uses port 989 and 990. Then there is also more compatible but walled FTPES which is based on same protocol but different way of encryption, it uses port 21. Another thing is SMB. Many might remember it being a big vulnerability where people had to disable version 1 of SMB either through updates or manually due it being very outdated. SMB has long been having newer versions. It is a protocol commonly used in file-sharing between two computers and other devices on LAN and such. It uses port 445 there. aum and Adenman 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.