title: Command 'ng serve --host 0.0.0.0' working fine for localhost but APIs not working on different machines, is there any solution for this?
body: <p>The thing is when I run the command <code>ng serve --host 0.0.0.0</code> it's working fine for both the <code>localhost</code> as well as on the different machines within same network. But, on adding token to the APIs, APIs are not being hit on different machines. It just showing the HTML with CSS without data. It would be great if any solution to this is provided. </p>
  
  <p>I tried with <code>disableHostCheck</code> or with port commands but nothing worked as:</p>
  
  <p><code>ng serve --host 0.0.0.0 --disableHostCheck true</code>,</p>
  
  <p><code>ng serve --host 0.0.0.0 --port 4200</code></p>
  
  <p>I expect the API response to all the devices within same network but there is no response to other devices except mine which is localhost.</p>