511
Network Authentication Required
Server Error
Description
The client needs to authenticate to gain network access
Common Usage
Used by captive portals (airport/hotel WiFi login pages)
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 511 Network Authentication RequiredcURL Example
curl -I https://example.com
# Returns: HTTP/1.1 511 Network Authentication RequiredServer Error Response
This is a server error response indicating the server failed to fulfill a valid request.
Related Server Error Codes
Other codes in the same category
500
Internal Server Error
A generic error message when the server encounters an unexpected condition
501
Not Implemented
The server does not support the functionality required to fulfill the request
502
Bad Gateway
The server was acting as a gateway or proxy and received an invalid response from the upstream server