Common Service Names and Port Numbers (You Should Know)

February 11, 2021 / Web Hosting

Common Service Names and Port Numbers (You Should Know)

Service names and port numbers are used to differentiate between the various services that execute over transport protocols, such as TCP/IP, UDP, DCCP and SCTP. The authority responsible for assigning service names and port numbers is the Internet Assigned Numbers Authority (IANA). IANA also maintains the registries which store service names and port numbers.

The port registries for transport protocols are divided into three number ranges: those for System Ports, User Ports and Dynamic/Private ports.

Their associated number ranges are:

  1. System Ports (0-1023)
  2. User Ports (1024-49151)
  3. Dynamic / Private Ports (49152-65535)

For services to work effectively, hosts that run them and those that access them, together with intermediate devices, such as firewalls, have to agree on which specific destination port is used with the particular service. Often, many services use a default port and it is these that are recorded in the IANA registry.

The growing use of Windows and single-user Linux systems over the years, however, means that the original port model above is not strictly adhered to. It can no longer be assumed that a specific port number necessarily denotes a particular service.

For example, if a host runs multiple instances of a service, they cannot all listen on the same port. Similarly, if there are multiple hosts behind the same NAT gateway, they cannot all map the same port on the external side of the gateway.

Today, there are thousands of applications and application-level protocols which have been assigned service names and port numbers and this number is set to rise in the future. Further confusion over port numbers can arise because IANA can de-assign a number no longer in use and reassign it to another service.

Domain Name

Common service names and their port numbers

The most common service names and their ports are listed in the chart below:

Service Name Port Number
FTP 20, 21
SSH 22
Telnet 23
DNS 53
DHCP 67, 68
POP3 110
NNTP 119
NTP 123
IMAP4 143
LDAP 389
AIM 5190

On Linux machines, the /etc/services file stores the information about the various services that client applications might use. The file contains the service name, port number and the protocol it uses, as well as any aliases.

For more information, read: How to Install and Configure Shoutcast on a Linux Server

On Windows machines, the service names, port numbers and protocols can be found in the C:windows\system32\drivers\etc\services file. The file tells Microsoft services which ports to use.

Need help with service names and port numbers?

If you are an eukhost customer and require assistance with port numbers, check out our knowledgebase or get in touch with our 24/7 technical support team.


  • Arjun Shinde

    I'm an experienced digital marketer with expertise in planning, SEO, SEM, and social media. I'm good at creating engaging content and optimising campaigns for a strong online presence.

    View all posts

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.