mirror of https://github.com/jumpserver/jumpserver
Update run_server.py
because if someone need run jumpserver at 127.0.0.1 need this fixpull/269/head
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