From 272788e6107e8353b7b21a3a8363be9e8ac62541 Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Tue, 26 May 2026 07:29:24 -0500 Subject: Bind lnd restlisten to LAN interface instead of loopback Nginx reverse proxy on btc.nth.io runs on a separate host from lnd, so 127.0.0.1 binding broke cross-host proxying (502 Bad Gateway). Bind to default_ipv4 to keep REST off other interfaces while still reachable from the proxy host. --- lnd/templates/lnd.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lnd/templates') diff --git a/lnd/templates/lnd.conf.j2 b/lnd/templates/lnd.conf.j2 index 60fec71..e35699a 100644 --- a/lnd/templates/lnd.conf.j2 +++ b/lnd/templates/lnd.conf.j2 @@ -9,7 +9,7 @@ alias={{lnd_alias}} tlsextradomain={{lnd_alias}} listen=0.0.0.0:9735 rpclisten=127.0.0.1:10009 -restlisten=127.0.0.1:8080 +restlisten={{ansible_facts['default_ipv4']['address']}}:8080 [Bitcoin] bitcoin.mainnet=true -- cgit v1.2.3