Bind ui server to ipv4 address

This commit is contained in:
shortcutme 2017-06-15 19:42:38 +02:00
parent 85b2a81568
commit 2e04ba1880
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -57,7 +57,7 @@ class UiServer:
self.ip = config.ui_ip
self.port = config.ui_port
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.learn_allowed_host = True
self.wrapper_nonces = []