title: json-server cannot access via local IP
body: <p>I'm using <code>npm json-server</code> from <a href="https://www.npmjs.com/package/json-server" rel="noreferrer">here</a>. It used to work great for my needs: run a server on my PC and do <code>GET</code> requests to local IP (192.168.1.XX). I reinstalled it and now I can do requests only to <em>localhost</em> or <em>127.0.0.1</em>. Can't do requests to local IP (cmd ipconfig) anymore. I'm getting this error:</p>
  
  <p><a href="https://i.stack.imgur.com/V9gVG.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/V9gVG.jpg" alt="enter image description here"></a></p>
  
  <p>As @fvu mentioned <a href="https://stackoverflow.com/a/38175246/3595288">here</a> </p>
  
  <blockquote>
    <p>this means that the server software is configured to listen on the localhost interface only. This is a configuration item and to avoid exposing a potentially unsecure server many server programs come preconfigured to listen on localhost only.</p>
  </blockquote>
  
  <p>So is there a way to access this server via local IP as long as json-server doesn't have some extra parameters to enable/disable it?</p>