User:Simon/prototypes/calibre-web configuration
This is the configuration for calibre-web to listen on localhost:
--- a/cps/server.py +++ b/cps/server.py @@ -152,7 +152,7 @@ class WebServer(object): http_server = HTTPServer(WSGIContainer(self.app), max_buffer_size=209700000, ssl_options=self.ssl_args) - http_server.listen(self.listen_port, self.listen_address) + http_server.listen(self.listen_port, address="127.0.0.1") self.wsgiserver = IOLoop.instance() self.wsgiserver.start() # wait for stop signal