Reference pages for ports, protocol errors and subnets

Short, accurate reference pages for network port numbers, protocol errors and CIDR math, written for people in the middle of fixing something.

A patch panel with neatly routed orange and gray cables running off to one side.

Ports

What each port is registered for with IANA, what runs on it in practice, and what to check when it is blocked.

760 ports

  • Port 20 (FTP data)

    Port 20 is the data port for FTP in active mode. Its IANA registration, transports and port range.

  • Port 21 (FTP control)

    Port 21 is the control port for FTP, where a client logs in and sends commands. Its IANA registration, transports and port range.

  • Port 22 (SSH)

    What port 22 is used for, which tools rely on it, and how to diagnose refused or timed-out SSH connections.

  • Port 23 (Telnet)

    Port 23 is the Telnet port, an unencrypted remote terminal protocol. Its IANA registration, transports and port range.

  • Port 25 (SMTP)

    Port 25 carries SMTP, used to relay email between mail servers. Its IANA registration, transports and port range.

  • Port 53 (DNS)

    What port 53 is used for, when DNS uses UDP and when it uses TCP, and how to test whether DNS is working.

  • Port 67 (DHCP server)

    Port 67 is where DHCP (and the older BOOTP) servers listen, over UDP. Its IANA registration, transports and port range.

  • Port 68 (DHCP client)

    Port 68 is the UDP port DHCP (and BOOTP) clients use. Its IANA registration, transports and port range.

See all 760 ports

HTTP status codes

Every status code in the IANA HTTP Status Code Registry, with its reference and what the common ones mean.

64 status codes

  • 100 Continue

    HTTP 100 Continue: the IANA registry entry, its reference and class.

  • 101 Switching Protocols

    HTTP 101 Switching Protocols: the IANA registry entry, its reference and class.

  • 102 Processing

    HTTP 102 Processing: the IANA registry entry, its reference and class.

  • 103 Early Hints

    HTTP 103 Early Hints: the IANA registry entry, its reference and class.

  • 104 Upload Resumption Supported

    HTTP 104 Upload Resumption Supported: the IANA registry entry, its reference and class.

  • 200 OK

    HTTP 200 OK: the IANA registry entry, its reference and class, what it means and what usually causes it.

  • 201 Created

    HTTP 201 Created: the IANA registry entry, its reference and class, what it means and what usually causes it.

  • 202 Accepted

    HTTP 202 Accepted: the IANA registry entry, its reference and class.

See all 64 status codes

Errors

What a protocol error means and how to track down the cause.

1 error

  • 502 Bad Gateway

    What an HTTP 502 Bad Gateway error means, the usual causes, and how to find the fault as a visitor or as the site's operator.

Guides

Background on addressing and subnets.

1 guide