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
501 UDP stmf STMF Assigned
502 TCP mbap Modbus Application Protocol Assigned
502 UDP mbap Modbus Application Protocol Assigned
503 TCP intrinsa Intrinsa Assigned
503 UDP intrinsa Intrinsa Assigned
504 TCP citadel citadel Assigned
504 UDP citadel citadel Assigned
505 TCP mailbox-lm mailbox-lm Assigned
505 UDP mailbox-lm mailbox-lm Assigned
506 TCP ohimsrv ohimsrv Assigned
506 UDP ohimsrv ohimsrv Assigned
507 TCP crs crs Assigned
507 UDP crs crs Assigned
508 TCP xvttp xvttp Assigned
508 UDP xvttp xvttp Assigned
509 TCP snare snare Assigned
509 UDP snare snare Assigned
510 TCP fcp FirstClass Protocol Assigned
510 UDP fcp FirstClass Protocol Assigned
511 TCP passgo PassGo Assigned
511 UDP passgo PassGo Assigned
512 TCP exec remote process execution; authentication performed using passwords and UNIX login names Assigned
512 UDP biff used by mail system to notify users of new mail received; currently receives messages only from processes on the same machine Assigned
512 UDP comsat Assigned
513 TCP login remote login a la telnet; automatic authentication performed based on priviledged port numbers and distributed data bases which identify "authentication domains" Assigned
513 UDP who maintains data bases showing who's logged in to machines on a local net and the load average of the machine Assigned
514 TCP shell cmd like exec, but automatic authentication is performed as for login server Assigned
514 UDP syslog Assigned
515 TCP printer spooler Assigned
515 UDP printer spooler Assigned
516 TCP videotex videotex Assigned
516 UDP videotex videotex Assigned
517 TCP talk like tenex link, but across machine - unfortunately, doesn't use link protocol (this is actually just a rendezvous port from which a tcp connection is established) Assigned
517 UDP talk like tenex link, but across machine - unfortunately, doesn't use link protocol (this is actually just a rendezvous port from which a tcp connection is established) Assigned
518 TCP ntalk Assigned
518 UDP ntalk Assigned
519 TCP utime unixtime Assigned
519 UDP utime unixtime Assigned
520 TCP efs extended file name server Assigned
520 UDP router local routing process (on site); uses variant of Xerox NS routing information protocol - RIP Assigned
521 TCP ripng ripng Assigned
521 UDP ripng ripng Assigned
522 TCP ulp ULP Assigned
522 UDP ulp ULP Assigned
523 TCP ibm-db2 IBM-DB2 Assigned
523 UDP ibm-db2 IBM-DB2 Assigned
524 TCP ncp NCP Assigned
524 UDP ncp NCP Assigned
525 TCP timed timeserver Assigned
525 UDP timed timeserver 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