Answer the question
In order to leave comments, you need to log in
Why doesn't .localhost work?
I want to access sites on domains on a different ip.
Registered in hosts in Windows: 192.168.0.2 site.localhost
This works in firefox, but does not work in chrome.
ERR_CONNECTION_REFUSED
.test
.example
.invalid
.localhost
Answer the question
In order to leave comments, you need to log in
Chrome will probably resolve *.localhost to 127.0.0. 1 as intended , regardless of the settings in hosts.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question