Commit 15895f40 authored by marblepebble's avatar marblepebble Committed by GitHub

Specify ip4 address to bind to

parent bd02c921
...@@ -30,7 +30,7 @@ if __name__ == '__main__': ...@@ -30,7 +30,7 @@ if __name__ == '__main__':
else: else:
web.app.logger.info('Falling back to Tornado') web.app.logger.info('Falling back to Tornado')
http_server = HTTPServer(WSGIContainer(web.app)) http_server = HTTPServer(WSGIContainer(web.app))
http_server.listen(web.ub.config.config_port) http_server.listen(web.ub.config.config_port, '0.0.0.0')
IOLoop.instance().start() IOLoop.instance().start()
IOLoop.instance().close(True) IOLoop.instance().close(True)
......
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