mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
Update run_server.py
because if someone need run jumpserver at 127.0.0.1 need this fix
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user