| Attribute | Value | |-----------|-------| | | http://connectivitycheck.gstatic.com/generate_204 (HTTP) / https://... (HTTPS) | | HTTP Method | GET | | Expected Status Code | 204 No Content | | Expected Response Body | Empty | | Typical Response Time | < 50ms | | DNS Record | CNAME -> googlehosted.l.googleusercontent.com (resolves to multiple Google IPs) |
When a device connects to a Wi-Fi network, it silently requests this URL. If the network has a captive portal (e.g., hotel/airport login page), the request is intercepted and returns a non-204 response (usually a 302 redirect or 200 with HTML). The device then opens a browser window for the user to log in. connectivitycheck gstatic generate 204
To verify this, Google devices immediately send a background HTTP/HTTPS GET request to http://connectivitycheck.gstatic.com/generate_204 . The specific logic relies entirely on standard HTTP status codes: | Attribute | Value | |-----------|-------| | |
This is the successful target response. It means the request successfully hit Google’s server, and the server responded with an intentionally empty packet. The device instantly marks the network connection as fully functional. The device then opens a browser window for