Why is there only 65,535 ports per ip? What is the mechanism or reason? Finally, it can only be port 65535 instead of port 65536.
The IP port is double-byte, that is, 256*256- 1, 256*256 is 0 for a computer, because the largest port number is 65535 instead of 65536. Of course, the port number is 0-65535, and the number is 65536, but generally 0 is not used, so we generally say 65535, and the port number is the largest.