It is recognized as 0- 1023, which mainly includes some public system services such as http service 80 and mail service 25.
The registered port is 1024-49 152, which is the default port of some third-party software.
And the random dynamic port is 49 152-65535, which can be freely used and dominated, such as when programmers need to test network communication.
* * * is port 65536.
The port number does not mean how to open it, but depends on which program you need to use the port. If you want to open a port, you just need to.
Just use the socket associated port in the program connection.