Start learning →

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)._
Practise this question with Quill — GATE CSE →

Keep practising Computer Networks

Browse all Computer Networks questions for GATE CSE, or explore more Computer Science topics.

Start a Computer Networks lesson →
Related questions