HTTP 421 Misdirected Request

The request was directed at a server that cannot produce a response.

4xx Client Error

421

Misdirected Request

Description

The 421 Misdirected Request status code indicates that the request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI. This status code is particularly relevant for HTTP/2, where connections can be reused for multiple domains. If a client reuses a connection for a different domain that the server cannot serve, the server responds with 421 to signal that the client should retry the request on a different connection.

When Is It Used?

Encountered with HTTP/2 connection coalescing when a client reuses a connection for a domain the server is not configured to handle. The client should open a new connection and retry the request.

Example Response

HTTP/1.1 421 Misdirected Request
Content-Type: text/plain

This server cannot handle the request for the given host.

Look Up Any Status Code

Browse all status codes