Ports
Home ] Up ] Network Communication Protocols ] Host Names & IP Addresses ] Domains ] Transport Protocols ] [ Ports ] The InetAddress Class ]

 

 

Typically, each computer on the Internet has a single physical connection to the network. However, a computer may have several applications that use data sent over that single physical connection. There must be a way of identifying which data is associated with which application. This is done by means of ports. A port is a connection point identified by a port number.

Typically, a specific application, such as a web server or a telnet service, will grab a particular port and expect clients to connect to that port in order to use the service provided by that application. Conventions have been set up to standardize port numbers for such applications.

Port Numbers

Port numbers are assigned by the Internet Assigned Numbers Authority (IANA), and are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports.

Port Type Port Range
Well Known Ports 0 through 1023
Registered Ports 1024 through 49151
Dynamic or Private Ports 49152 through 65535

 

Here are some examples of Well Known Ports:

 
echo 7
daytime 13
FTP 21
telnet 23
SMTP 25
finger 79
HTTP 80
POP3 110
The page was last updated February 19, 2008