Bind ui server to ipv4 address
This commit is contained in:
parent
85b2a81568
commit
2e04ba1880
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class UiServer:
|
||||||
self.ip = config.ui_ip
|
self.ip = config.ui_ip
|
||||||
self.port = config.ui_port
|
self.port = config.ui_port
|
||||||
if self.ip == "*":
|
if self.ip == "*":
|
||||||
self.ip = "" # Bind all
|
self.ip = "0.0.0.0" # Bind all
|
||||||
self.allowed_hosts = set(["zero", "localhost:%s" % config.ui_port, "%s:%s" % (config.ui_ip, config.ui_port)])
|
self.allowed_hosts = set(["zero", "localhost:%s" % config.ui_port, "%s:%s" % (config.ui_ip, config.ui_port)])
|
||||||
self.learn_allowed_host = True
|
self.learn_allowed_host = True
|
||||||
self.wrapper_nonces = []
|
self.wrapper_nonces = []
|
||||||
|
|
Loading…
Reference in a new issue