Commit cf3e89c3 authored by liuzheng's avatar liuzheng Committed by GitHub

Update run_server.py

because if someone need run jumpserver at 127.0.0.1 need this fix
parent 0f0908d3
......@@ -502,7 +502,7 @@ def main():
], **setting)
server = tornado.httpserver.HTTPServer(tornado_app)
server.listen(options.port)
server.listen(options.port, address=IP)
tornado.ioloop.IOLoop.instance().start()
......
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