Commit 745f1519 authored by Afaq Tariq's avatar Afaq Tariq
Browse files

python server now runs on host IP address rather than localhost

parent f04d9754
......@@ -40,6 +40,6 @@ class MainHandler(BaseHTTPRequestHandler):
self.send_error(404, 'File Not Found: %s' % self.path)
if __name__ == '__main__':
server = ThreadedHTTPServer(('localhost', 8081), MainHandler)
server = ThreadedHTTPServer(('0.0.0.0', 8081), MainHandler)
print 'Starting server, use <Ctrl-C> to stop'
server.serve_forever()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment