List of ports and services

The complete port list from the official IANA registry, searchable by port number, range, or service name, with filters by protocol and range. The list is updated weekly.

Search the port list

List last checked:

13,371 rows

Port Protocol Service IANA registry description Status
25 TCP smtp Simple Mail Transfer Assigned
25 UDP smtp Simple Mail Transfer Assigned
26 TCP - Unassigned Unassigned
26 UDP - Unassigned Unassigned
27 TCP nsw-fe NSW User System FE Assigned
27 UDP nsw-fe NSW User System FE Assigned
28 TCP - Unassigned Unassigned
28 UDP - Unassigned Unassigned
29 TCP msg-icp MSG ICP Assigned
29 UDP msg-icp MSG ICP Assigned
30 TCP - Unassigned Unassigned
30 UDP - Unassigned Unassigned
31 TCP msg-auth MSG Authentication Assigned
31 UDP msg-auth MSG Authentication Assigned
32 TCP - Unassigned Unassigned
32 UDP - Unassigned Unassigned
33 TCP dsp Display Support Protocol Assigned
33 UDP dsp Display Support Protocol Assigned
34 TCP - Unassigned Unassigned
34 UDP - Unassigned Unassigned
35 TCP - any private printer server Assigned
35 UDP - any private printer server Assigned
36 TCP - Unassigned Unassigned
36 UDP - Unassigned Unassigned
37 TCP time Time Assigned
37 UDP time Time Assigned
38 TCP rap Route Access Protocol Assigned
38 UDP rap Route Access Protocol Assigned
39 TCP rlp Resource Location Protocol Assigned
39 UDP rlp Resource Location Protocol Assigned
40 TCP - Unassigned Unassigned
40 UDP - Unassigned Unassigned
41 TCP graphics Graphics Assigned
41 UDP graphics Graphics Assigned
42 TCP name Host Name Server Assigned
42 TCP nameserver Host Name Server Assigned
42 UDP name Host Name Server Assigned
42 UDP nameserver Host Name Server Assigned
43 TCP nicname Who Is Assigned
43 UDP nicname Who Is Assigned
44 TCP mpm-flags MPM FLAGS Protocol Assigned
44 UDP mpm-flags MPM FLAGS Protocol Assigned
45 TCP mpm Message Processing Module [recv] Assigned
45 UDP mpm Message Processing Module [recv] Assigned
46 TCP mpm-snd MPM [default send] Assigned
46 UDP mpm-snd MPM [default send] Assigned
47 TCP - Reserved Reserved
47 UDP - Reserved Reserved
48 TCP auditd Digital Audit Daemon Assigned
48 UDP auditd Digital Audit Daemon Assigned

The three port ranges

Under RFC 6335, port numbers from 0 to 65535 are divided into three ranges:

  • System ports (0-1023): also known as Well-Known Ports. Assigning a port in this range requires an IETF approval process, and it holds well-known services such as SSH on port 22, HTTP on port 80, and HTTPS on port 443.
  • Registered ports (1024-49151): also known as Registered Ports. IANA also assigns ports in this range on request, after review by a designated expert, for example MySQL on port 3306.
  • Dynamic ports (49152-65535): also known as Dynamic Ports or Private Ports. IANA doesn't assign ports in this range to any service, and they're meant for private or temporary use.

About the data in the list

  • The data comes from the IANA Service Name and Transport Protocol Port Number Registry, and it's updated weekly. IANA publishes the registry under the CC0 license, which places it in the public domain.
  • The descriptions in the table are shown as they appear in the registry. Some range rows in the registry don't specify a protocol, and these rows show a dash.
  • A port is defined together with its transport protocol, so the same number on TCP and on UDP means two separate ports. A firewall rule covers both protocols or only one of them.
  • A port registered with IANA doesn't guarantee that its traffic belongs to the registered service, because any software can listen on any port. So before opening a port in the firewall, check which service is actually listening on it.

Commands for opening and closing ports are collected on the UFW commands, firewalld commands, and iptables and nftables commands pages. Control panel ports are listed on the Control panel paths, ports, and logs page, and mail server ports on the Email client settings page.

Did you know?

On a Linux VPS, you get full root access and decide for yourself which ports are open in the server's firewall. You can also add firewall rules for your VPS in our external firewall, with the Firewall and VPN service.

Linux VPS plans

Ports

What is a port, and what is it used for?

A port is a number from 0 to 65535 that identifies a specific service on a server. The IP address leads to the server, and the port number leads to a service running on it: a web server accepts HTTPS requests on port 443, and the SSH service usually listens on port 22. This way, one server runs several services at once, each on its own port.

What's the difference between a TCP port and a UDP port?

TCP and UDP are two transport protocols. TCP sets up a connection and makes sure all the data arrives in the right order, so it's used for websites, email, and SSH. UDP sends messages without setting up a connection or confirming delivery, so it suits short DNS queries and voice calls. A port is defined together with its protocol, so port 53 on TCP and port 53 on UDP are two separate ports.

What's the difference between system, registered, and dynamic ports?

RFC 6335 divides ports into three ranges. System ports (0-1023) are assigned to well-known services such as HTTP and SSH, through an IETF approval process. Registered ports (1024-49151) are also assigned on request, for example port 3306 for MySQL. Dynamic ports (49152-65535) aren't assigned to any service, and they're meant for private or temporary use.

How do I check which ports are open on my server?

On a Linux server, the command ss -tulpn shows all the ports services are listening on, together with the process name. From outside the server, the command nc -zv with the server address and port number checks whether the port is reachable. After checking, keep open in the firewall only the ports that services need to accept connections on from outside.

Can I move a service to a different port?

Yes. For most services, the port is set in the service's configuration file. Before restarting the service, open the new port in the firewall and update the software that connects to it. When you change the SSH port, keep your current connection open until you've confirmed you can connect on the new port.

Shopping cart

Your cart is emptyYou can start with one of our popular plans.

Site search

Accessibility

Text size
100%
Accessibility statement