When a Sitecore XP 10.0, 10.1, or 10.2 user logs in to development Docker deployment in Chromium-based browsers using default hostnames with the "localhost" subdomain, the browser might return the following error:
ERR_CONNECTION_REFUSED
The root cause of the issue is that Google Chrome version 132 introduced the following change:
ignore Strict-Transport-Security headers on responses from localhost URLs
This results in a failure to redirect from HTTP to HTTPS, with HTTP 307 Internal Redirect.
For example, it affects the default hostname with the "localhost" subdomain for Sitecore XM topology like:
To resolve this issue, consider the following steps:
Refer to KB1000586 for more details on the issue in Mozilla Firefox.