|
@ -116,7 +116,7 @@ class Daemon(DaemonThread): |
|
|
self.init_server(config, fd) |
|
|
self.init_server(config, fd) |
|
|
|
|
|
|
|
|
def init_server(self, 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) |
|
|
port = config.get('rpcport', 0) |
|
|
try: |
|
|
try: |
|
|
server = SimpleJSONRPCServer((host, port), logRequests=False, |
|
|
server = SimpleJSONRPCServer((host, port), logRequests=False, |
|
|