This is a list of TCP and UDP port numbers used by protocols for operation of network applications.
The
Transmission Control Protocol
The Transmission Control Protocol (TCP) is one of the main protocols of the Internet protocol suite. It originated in the initial network implementation in which it complemented the Internet Protocol (IP). Therefore, the entire suite is commonly ...
(TCP) and the
User Datagram Protocol
In computer networking, the User Datagram Protocol (UDP) is one of the core communication protocols of the Internet protocol suite used to send messages (transported as datagrams in packets) to other hosts on an Internet Protocol (IP) network. ...
(UDP) only need one
port
A port is a maritime facility comprising one or more wharves or loading areas, where ships load and discharge cargo and passengers. Although usually situated on a sea coast or estuary, ports can also be found far inland, such as Ham ...
for
duplex, bidirectional traffic. They usually use port numbers that match the services of the corresponding TCP or UDP implementation, if they exist.
The
Internet Assigned Numbers Authority
The Internet Assigned Numbers Authority (IANA) is a standards organization that oversees global IP address allocation, autonomous system number allocation, root zone management in the Domain Name System (DNS), media types, and other Interne ...
(IANA) is responsible for maintaining the official assignments of port numbers for specific uses. However, many unofficial uses of both well-known and registered port numbers occur in practice. Similarly, many of the official assignments refer to protocols that were never or are no longer in common use. This article lists port numbers and their associated protocols that have experienced significant uptake.
Table legend
Well-known ports
The port numbers in the range from 0 to 1023 (0 to 2
10 − 1) are the ''well-known ports'' or ''system ports''.
They are used by system processes that provide widely used types of network services. On
Unix-like
A Unix-like (sometimes referred to as UN*X or *nix) operating system is one that behaves in a manner similar to a Unix system, although not necessarily conforming to or being certified to any version of the Single UNIX Specification. A Unix-li ...
operating systems, a process must execute with
superuser
In computing, the superuser is a special user account used for system administration. Depending on the operating system (OS), the actual name of this account might be root, administrator, admin or supervisor. In some cases, the actual name of t ...
privileges to be able to bind a
network socket
A network socket is a software structure within a network node of a computer network that serves as an endpoint for sending and receiving data across the network. The structure and properties of a socket are defined by an application programming ...
to an
IP address
An Internet Protocol address (IP address) is a numerical label such as that is connected to a computer network that uses the Internet Protocol for communication.. Updated by . An IP address serves two main functions: network interface ident ...
using one of the well-known ports.
[. "... Port numbers below 1024 (so-called "low numbered" ports) can only be bound to by root ... Well-known port numbers specified by the IANA are normally located in this root-only space. ..."]
Registered ports
The range of port numbers from 1024 to 49151 (2
10 to 2
14 + 2
15 − 1) are the
registered port
A registered port is a network port designated for use with a certain protocol or application.
Registered port numbers are currently assigned by the Internet Assigned Numbers Authority (IANA) and were assigned by Internet Corporation for Assigned ...
s. They are assigned by
IANA
The Internet Assigned Numbers Authority (IANA) is a standards organization that oversees global IP address allocation, autonomous system number allocation, root zone management in the Domain Name System (DNS), media types, and other Interne ...
for specific service upon application by a requesting entity.
On most systems, registered ports can be used without superuser privileges.
Dynamic, private or ephemeral ports
The range 49152–65535 (2
15 + 2
14 to 2
16 − 1) contains dynamic or private ports that cannot be registered with IANA. This range is used for private or customized services, for temporary purposes, and for automatic allocation of
ephemeral port
An ephemeral port is a communications endpoint (port) of a transport layer protocol of the Internet protocol suite that is used for only a short period of time for the duration of a communication session. Such short-lived ports are allocated autom ...
s.
Note
See also
*
Port (computer networking)
In computer networking, a port is a number assigned to uniquely identify a connection endpoint and to direct data to a specific service. At the software level, within an operating system, a port is a logical construct that identifies a specific ...
*
Internet protocol suite
The Internet protocol suite, commonly known as TCP/IP, is a framework for organizing the set of communication protocols used in the Internet and similar computer networks according to functional criteria. The foundational protocols in the suit ...
*
List of IP numbers
*
Lists of network protocols
This is a list of articles that list different types or classifications of communication protocols used in computer network
A computer network is a set of computers sharing resources located on or provided by network nodes. The computers ...
*
Comparison of file transfer protocols
This article lists communication protocols that are designed for file transfer over a telecommunications network.
Protocols for shared file systems—such as 9P and the Network File System—are beyond the scope of this article, as are file s ...
[Touch, J., Lear, E., Kojo, M., Ono, K., Stiemerling, M., Eddy, W., Trammell, B., Iyengar, J., Scharf, M., Tuexen, M., Kohler , E., & Nishida, Y. (2022, May 24). Service name and Transport Protocol Port Number Registry. iana.org. Retrieved May 25, 2022, from https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml]
References and notes
*
Further reading
*
External links
*
{{DEFAULTSORT:TCP and UDP port numbers
Computing-related lists
Internet-related lists
Lists of network protocols