Update run_server.py

because if someone need run jumpserver at 127.0.0.1 need this fix
pull/269/head
liuzheng 2016-06-15 22:06:26 +08:00 committed by GitHub
parent 0f0908d3f3
commit cf3e89c374
1 changed files with 1 additions and 1 deletions

View File

@ -502,7 +502,7 @@ def main():
], **setting) ], **setting)
server = tornado.httpserver.HTTPServer(tornado_app) server = tornado.httpserver.HTTPServer(tornado_app)
server.listen(options.port) server.listen(options.port, address=IP)
tornado.ioloop.IOLoop.instance().start() tornado.ioloop.IOLoop.instance().start()