Multiple choice

Which range of port numbers are reserved for services that are commonly used by applications that run on servers?

  1. 0 to 255

  2. 0 to 1023

  3. 1024 to 49151

  4. 49152 to 65535

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Port numbers 0-1023 are the well-known ports, reserved by IANA for standard services like HTTP (80), HTTPS (443), SSH (22), FTP (21), etc. These require privileged access to bind to. Ports 1024-49151 are registered ports, and 49152-65535 are dynamic/private ports used for ephemeral connections by clients.