title: Vuejs Console Errors after changing hostname in config
body: <p>Vuejs Newbie here. I'm creating a simple VueJs application using vue cli 3 and changed the hostname from localhost to pc555 in vue.config.js. Something like this:</p>
  
  <pre><code>module.exports = {
    devServer: {
      host: "pc555",
    }
  };
  </code></pre>
  
  <p>The application loads fine but there are a lot of console errors.<br>
  <a href="https://i.stack.imgur.com/S2EjJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S2EjJ.png" alt="console errors"></a></p>
  
  <p>I am guessing this is related to the hot reload and since I changed the hostname to pc555, it's not able to find localhost. How do I make these urls go to <a href="http://pc555:8080/sockjs-node/info?t=1533154684963" rel="nofollow noreferrer">http://pc555:8080/sockjs-node/info?t=1533154684963</a> instead of <a href="http://localhost:8080/sockjs-node/info?t=1533154684963" rel="nofollow noreferrer">http://localhost:8080/sockjs-node/info?t=1533154684963</a>?</p>
  
  <p>Thanks a lot.</p>