When a user logs in to development Docker deployment in Mozilla Firefox, using default hostnames with the "localhost" subdomain might result in the following browser error:
Unable to connect
The root cause of the issue is that Mozilla Firefox ignores HSTS, and fails to redirect from HTTP to HTTPS with HTTP 307 Internal Redirect.
For example, the default hostname with the "localhost" subdomain for Sitecore XM topology is:
To resolve this issue, consider the following steps:
Refer to KB1003588 for more details on the issue in Google Chrome.