Search code examples
google-chromevue.jsvue-cli-3

VueJS local not found in Chrome


When browsing to http://localhost:8080/ in chrome I get redirected to a bad request page, provided by the chrome browser. If I browse to the network url ie: http://192.168.1.1:8080/, then the chrome browser happily loads it.

The localhost url works fine in Firefox and in Edge.

Has anyone experienced this behaviour before and know how to fix it?


Solution

  • Check your chrome proxy settings and hosts file, also try the guest and private mode.

    It might be a cookies problem