Why Ports Are Organized Into Three Ranges
The full 16-bit port range (0-65535) splits into three IANA-managed bands, each serving a different purpose (see Well-Known Port Numbers for the full breakdown): well-known ports (0-1023, reserved for standardized system services like HTTP on 80 or SSH on 22), registered ports (1024-49151, assignable to specific applications with less strict enforcement), and dynamic/private ports (49152-65535, used for temporary, per-connection endpoints rather than permanently assigned services).
Looking up an unfamiliar port number quickly answers a genuinely common troubleshooting question — "what's normally supposed to be running on this port" — whether configuring a firewall rule, investigating unexpected network traffic, or just trying to remember which port a specific database or dev server tool conventionally uses (a detail that's easy to forget across the dozens of common development tools each defaulting to their own port).
Most operating systems restrict binding to well-known ports (0-1023) to privileged processes specifically, a deliberate security measure — which is exactly why an unprivileged server process typically can't accidentally (or maliciously) impersonate a standard service like HTTP or SSH just by trying to listen on that port number.