mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 13:43:47 +00:00
Specify ip4 address to bind to
This commit is contained in:
parent
bd02c92162
commit
15895f4055
2
cps.py
2
cps.py
@ -30,7 +30,7 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
web.app.logger.info('Falling back to Tornado')
|
web.app.logger.info('Falling back to Tornado')
|
||||||
http_server = HTTPServer(WSGIContainer(web.app))
|
http_server = HTTPServer(WSGIContainer(web.app))
|
||||||
http_server.listen(web.ub.config.config_port)
|
http_server.listen(web.ub.config.config_port, '0.0.0.0')
|
||||||
IOLoop.instance().start()
|
IOLoop.instance().start()
|
||||||
IOLoop.instance().close(True)
|
IOLoop.instance().close(True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user