Chrome (and only Chrome) unexpectedly cannot connect to local domains
Well, that's weird. As of this morning, Chrome is responding ERR_CONNECTION_REFUSED
when it tries to connect to web pages on various domains {subdomain}.localhost
. Firefox and Safari connect as usual. I am using Vagrant / Virtualbox running Debian and Apache. Chrome connects to local domains that it does NOT use localhost
in the domain name. I wonder if chrome has released some kind of local firewall? But didn't notice anything in the release notes.
UPDATE : Running curl {subdomain}.localhost
in terminal gives me the expected result (response from web server).
UPDATE 2 : I just found this: https://news.ycombinator.com/item?id=9210484 (Chrome dev team is blocking all access from browser to localhost wss) - but I don't see it has been implemented yet.
source to share