title: Is it possible to run python SimpleHTTPServer on localhost only?
body: <p>I have a vpn connection and when I'm running python -m SimpleHTTPServer, it serves on 0.0.0.0:8000, which means it can be accessed via localhost <strong>and</strong> via my real ip.
  I don't want robots to scan me and interested that the server will be accessed only via localhost.</p>
  
  <p>Is it possible? </p>
  
  <pre><code>python -m SimpleHTTPServer 127.0.0.1:8000  # doesn't work.
  </code></pre>
  
  <p>Any other simple http server which can be executed instantly using the command line is also welcome.</p>