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.