The PORT NUMBER range is
A0 to 255
B0 to 1023 only
C0 to 65535 (16-bit)
D0 to 4294967295
Answer & Solution
Correct answer: C. 0 to 65535 (16-bit)
1. TCP and UDP use 16-bit port numbers, ranging from 0 to $2^{16}-1 = 65535$.
2. Conventional ranges:
- 0-1023: WELL-KNOWN ports (privileged, OS-restricted). E.g. HTTP=80, HTTPS=443, FTP=21.
- 1024-49151: REGISTERED ports (e.g. PostgreSQL=5432).
- 49152-65535: DYNAMIC/EPHEMERAL ports (used by clients).
3. Option A is only the well-known well-known range. Option B is well-known only. Option D is a 32-bit range (not used for ports).
_Source: RFC 1180 "A TCP/IP Tutorial", §7-8 (TCP + Network Applications, port numbers)._
Related questions
What does DNS do?How many bits are in an ETHERNET MAC address?The role of a ROUTER (in the IP layer) is toWhat is the function of the SUBNET MASK in IPv4?An IP datagram larger than the network MTU (Maximum Transmission Unit) isUDP is preferred over TCP for applications that needWhich port number is conventionally used by HTTP (cleartext)?TCP establishes a connection via the THREE-WAY HANDSHAKE. The sequence of segments is