Current location - Quotes Website - Collection of slogans - What does the port of IP address mean?
What does the port of IP address mean?
A port in an IP address refers to a logical port, and a logical port is a port logically used to differentiate services. Ports in TCP/IP protocol are logical ports, and different services are distinguished by different logical ports. The port number of the IP address is 16, with a maximum of 65536 ports. Ports are marked by port numbers, which are only integers from 0 to 65535.

Extended data:

The port addresses in TCP and UDP segment structures are 16 bits, and can have port numbers in the range of 0-65535. For these 65536 port numbers, there are the following usage rules:

1 and port numbers less than 256 are defined as common ports, and servers are generally identified by common port numbers. Services provided by any TCP/IP implementation use port numbers between 1- 1023, which are managed by ICANN;

2. The client only needs to ensure that the port number is unique on this machine. Customer port number is also called temporary port number because of its short existence time;

3.TCP/IP implements the allocation of port numbers between 1024-5000 to temporary port numbers. Port numbers greater than 5000 are reserved for other servers.