title: sockjs-node/info? 404 (Not Found)
body: <p>I've done lost of search for couple of hours now and still can't find what I'm looking for. Basically I get this error in the console when running ng serve in my <strong>Angular 6 app</strong>:</p>
  
  <pre><code>GET http://local.mywebsitesecure.com/sockjs-node/info?t=1540568455931 404 (Not Found)
  </code></pre>
  
  <p>Based on my research the solution could be just updating</p>
  
  <blockquote>
    <p>webpack.config.js</p>
  </blockquote>
  
  <p>However, I can't find webpack.config.js  in my project. They also say to do: </p>
  
  <blockquote>
    <p>"ng eject"</p>
  </blockquote>
  
  <p>to create a webpack, but it doesn't seem to work.</p>
  
  <p><strong>SOLUTION:</strong> I can get it to work by running this (It actually works!):</p>
  
  <blockquote>
    <p>ng serve --public-host=<a href="http://localhost:4200" rel="noreferrer">http://localhost:4200</a></p>
  </blockquote>
  
  <p>BUT I want to be able to set this up somewhere in my app so that I can only do </p>
  
  <blockquote>
    <p>ng serve</p>
  </blockquote>
  
  <p>Does anyone know how to fix this issue and gid rid of this error (<strong>sockjs-node/info</strong>). Thanks a lot in advance! </p>