Network Port Number

By Xah Lee. Date: .

Network Port Number

Port Number is a 16-bits number. It is used as a address to identify the app/process on a machine. IP address identifies a host, the port number identifies the process on that host.

Port number is used by TCP and UDP.

Port numbers are divided into three ranges:

Well-known ports are those from 0 through 1023. Examples:

here's a complete list. List of TCP and UDP port numbers