What is the highest port number one can use?
The largest TCP/IP network port number allowable for IPv4
network-protocolstcp
Related Topic
- Sockets – What does “connection reset by peer” mean
- Sockets – What limits the number of connections for a TCP port
- The theoretical maximum number of open TCP connections that a modern Linux box can have
- Macos – Who is listening on a given TCP port on Mac OS X
- Sockets – Can TCP and UDP sockets use the same port
- How does Port Number really work in TCP
Best Answer
The port number is an unsigned 16-bit integer, so 65535.