From 86069b10ca076a1fc6ebf4ebe36660635a9c24e2 Mon Sep 17 00:00:00 2001 From: Andrey Beletsky Date: Tue, 14 Jul 2020 14:56:47 +0700 Subject: [PATCH] Bind API server to the configured host instead of localhost --- lbry/service/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/service/daemon.py b/lbry/service/daemon.py index 2433bb48f..a96e4d31e 100644 --- a/lbry/service/daemon.py +++ b/lbry/service/daemon.py @@ -111,7 +111,7 @@ class Daemon: async def start(self): self.console.starting() await self.runner.setup() - site = TCPSite(self.runner, 'localhost', self.conf.api_port) + site = TCPSite(self.runner, self.conf.api_host, self.conf.api_port) await site.start() await self.service.start()