daemon: default rpchost to 127.0.0.1

This commit is contained in:
ThomasV 2016-08-15 08:27:09 +02:00
parent f61d8b4c24
commit 71de14240d
1 changed files with 1 additions and 1 deletions

View File

@ -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,