Commit 29226328 authored by echel0n's avatar echel0n
Browse files

Fixed incorrect passed startup command for web host setting

By default web server listens on 0.0.0.0
parent 4280c4ad
......@@ -347,7 +347,7 @@ def main():
app = Core()
app.quiet = args.quiet
app.host = args.host
app.web_host = args.host
app.web_port = int(args.port)
app.web_root = args.web_root.lstrip('/').rstrip('/')
app.no_launch = args.nolaunch
......
......@@ -479,7 +479,7 @@ class WebServer(threading.Thread):
self.server = HTTPServer(self.app, ssl_options=ssl_ctx, xheaders=sickrage.app.config.general.handle_reverse_proxy)
try:
self.server.listen(sickrage.app.config.general.web_port)
self.server.listen(sickrage.app.config.general.web_port, sickrage.app.config.general.web_host)
except socket.error as e:
sickrage.app.log.warning(e.strerror)
raise SystemExit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment