Browse Source

daemon: default rpchost to 127.0.0.1

283
ThomasV 8 years ago
parent
commit
71de14240d
  1. 2
      lib/daemon.py

2
lib/daemon.py

@ -116,7 +116,7 @@ class Daemon(DaemonThread):
self.init_server(config, fd)
def init_server(self, config, fd):
host = config.get('rpchost', '')
host = config.get('rpchost', '127.0.0.1')
port = config.get('rpcport', 0)
try:
server = SimpleJSONRPCServer((host, port), logRequests=False,

Loading…
Cancel
Save