From 71de14240d58e4eb721903f755593c45c1e84cbd Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 15 Aug 2016 08:27:09 +0200 Subject: [PATCH] daemon: default rpchost to 127.0.0.1 --- lib/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/daemon.py b/lib/daemon.py index 1488cec0d..d85327681 100644 --- a/lib/daemon.py +++ b/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,