mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-15 23:46:30 +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:
parent
0f0908d3f3
commit
cf3e89c374
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user