I'm trying to run a local node server, but for whatever reason localhost:3000
does not work. The error page states This webpage is not available ERR_CONNECTION_CLOSED
However, 127.0.0.1:3000
does work. I have tried making changes to my hosts file, but to no avail. Does anyone have any idea what's causing the problem?
Chrome version is 46.0.2490.80 m
I solved my problem by:
locahost
For me (I had HTTP and HTTPs dev server on same port)
if you're using a proxy there's a checkbox to bypass it for local addresses.
Here are the steps I took to make this work correctly:
127.0.0.1 localhost.
was present, and saved the filechrome://net-internals/#dns
Alternatively, this also works:
localhost
and deleteUnbeknownst to me, my project had an HSTS middleware that set an HSTS cookie