Search code examples
javascriptnode.jsgoogle-chromelocalhostgulp

Connecting to localhost:8080 using Google Chrome


I'm currently developing a card game using node.js and gulp, and suddendly Chrome stopped to find localhost:8080. After some research, some people had the same problem and solved it by disabling "Built-in Asynchronous DNS" in chrome://flags, however, this flag seems not to exist anymore.

When a friend of mine launch the same code also with gulp and with the same version of Chrome, it works. Any idea ?


Solution

  • In the chrome url bar type "chrome://net-internals/#hsts" and delete the localhost domain, by typing "localhost" into the Delete Domain text box.

    Type "localhost" into the Query Domain text box and if it says "Not found" than it was successful.