btcpayserver-docker icon indicating copy to clipboard operation
btcpayserver-docker copied to clipboard

Help needed: c-lightning node announce address is internal IP

Open teval20 opened this issue 4 years ago • 3 comments

Since some upgrades ago the announce address for my c-lightning node that is installed through BTCPay Server docker is announcing my internal IP address. How do I change this?

03c1cf3c3ba4a1b28785a5fd47c93952ac6474042b2af696b26a7007a22bd653d7@192.168.1.150:9735 is the current Node URI that is announced(together with the Tor Node URI)

teval20 avatar Aug 08 '20 08:08 teval20

Can you check cat /var/lib/docker/volumes/generated_clightning_bitcoin_datadir/_data/config

NicolasDorier avatar Aug 13 '20 12:08 NicolasDorier

On my install I have

announce-addr=nico2.temp.btcpayserver.org:9735
announce-addr=uewlcjmuuwcgs43lpcc7d64k2pf4xs7yyer7ztsq6cblyjxue3bc35qd.onion:9735

The first one should be the $BTCPAY_HOST you configured.

NicolasDorier avatar Aug 13 '20 12:08 NicolasDorier

On my host, since the host is a public host resolved to a public IP the getinfo works fine

   "address": [
      {
         "type": "ipv4",
         "address": "172.81.183.186",
         "port": 9735
      },
      {
         "type": "torv3",
         "address": "uewlcjmuuwcgs43lpcc7d64k2pf4xs7yyer7ztsq6cblyjxue3bc35qd.onion",
         "port": 9735
      }
   ],

NicolasDorier avatar Aug 13 '20 12:08 NicolasDorier