Porta/Porte TCP/IP Port/Portos TCP/IP TCP/IP Port Port/Ports TCP/IP Puerto/Puertos TCP/IP

The use of ports

Many TCP/IP programs can be executed simultaneously over the Internet (you can for example open several browsers simultaneously or browse HTML pages while downloading a file via FTP). Each of these programs works with a protocol, sometimes the computer must be able to distinguish the different data sources.

So, to facilitate this process, each of these applications can allocate a unique address to the machine, coded in 16 bits: a port (the combination of IP address + port is therefore a unique address in the world and is called a socket).

The IP address therefore serves to uniquely identify a computer on the network while the port number specifies the application for which data is intended. In this way, when the computer receives information intended for a port, the data is sent to the related application. If it is a request sent to the application, the application is called a server application. If it is a response, we then talk about a client application.

The multiplexing function

The process which consists of being able to send information from various applications over a connection is called multiplexing. In the same way the matter of managing to compare (thus share among the various applications) the data flow is called demultiplexing.

These operations are carried out thanks to the port, i.e. a number linked to an application type which, when combined with an IP address, makes it possible to uniquely determine an application which is running on a given machine.

Default allocations


There are thousands of ports (these are coded over 16 bits, therefore there are 65536 possibilities) that is why a standard application has been developed by IANA (Internet Assigned Numbers Authority), to help with network configurations.

  • Ports 0 to 1023 are the "well known ports" or reserved ports. Generally speaking, they are reserved for system processes (daemons) or programs executed by privileged users. A network administrator can nevertheless link services to the ports of his choice.
  • Ports 1024 to 49151 are the "registered ports".
  • Ports 49152 to 65535 are the "dynamic and/or private ports".

Here are some of the most commonly used well known ports:

Port Service or Application
21 FTP
23 Telnet
25 SMTP
53 Domain Name System
63 Whois
70 Gopher
79 Finger
80 HTTP
110 POP3
119 NNTP

So, a server (a computer that is contacted and which offers services such as FTP, Telnet, etc.) has fixed port numbers to which the network administrator links the services. So, server ports are generally between 0 and 1023 (value range linked to known services).

On the client side, the port is chosen randomly by the operating system from among those available. So, client ports will never include ports between 0 and 1023 because this value range represents the well known ports.

More information



Last update on Thursday October 16, 2008 02:43:22 PM.This document entitled « Port/Ports TCP/IP » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Best answers for « Port/Ports TCP/IP » in :
TCP/IP Show What does TCP/IP mean? TCP/IP is a suite of protocols. The acronym TCP/IP means "Transmission Control Protocol/Internet Protocol" and is pronounced "T-C-P-I-P". It comes from the names of the two major protocols in the suite of protocols, i.e....
Download Advanced TCP IP Data Logger Show Description: Advanced TCP/IP Data Logger will help you in your daily technical needs. You will be able to get information about your network and any device that is connected to it in real time. Features: You can send and receive serial data...
The TCP / IP Model Show The TCP / IP Model This article describes the reference model TCP / IP, which is the historical and technical standard of the Internet. The U.S. Department of Defense has established the Reference Model TCP / IP because he needed to...
Conversion of an IP address 32-bit ShowConversion of an IP address 32-bit We will make a ping kioskea.net in view retrieve the IP address (in bold) $ Ping-c1 kioskea.net PING kioskea.net (194,169,240,130) 56 (84) data bytes. 64 bytes from www.kisokea.org...
Differences between the UDP and TCP protocols ShowDifferences between the UDP and TCP protocols User Datagram Protocol (UDP) Transmission Control Protocol (TCP) User Datagram Protocol (UDP) It is part of the base protocols of the Internet Protocol Suite. Programs on networked...
[Windows XP] Repairing the network connection using command line Show[Windows XP] Repairing the network connection using command lines Under Windows XP there is a small feature allowing you to repair a network connection. Go to the Network Connections options in Control panel (Control Panel / Network...
Download IP Traffic Monitor ShowIP Traffic Monitor monitors all network connections on the computer where it is installed. The program shows you detailed information, such as the remote IP address, host name if available, details of inbound and outbound traffic. Advantage It...
IP protocol ShowThe role of IP protocol IP protocol is part of the Internet layer of the TCP/IP protocol suite. It is one of the most important Internet protocols because it allows the development and transport of IP datagrams (data packets), without however...
Messaging protocols (SMTP,POP3 and IMAP4) ShowIntroduction to e-mail E-mail is considered as being the most widely used service on the Internet. So the TCP/IP protocol suite offers a range of protocols allowing the easy management of email routing over the network. The SMTP protocol The...
The ARP protocol ShowThe aim of ARP protocol The ARP protocol plays a key role among Internet layer protocols relating to TCP/IP, since it enables the physical address of a network interface card corresponding to an IP address to be known. That is why it is called...