alexbosworth / ln-service

Node.js interface to LND
MIT License
318 stars 61 forks source link

Socket connection issue #154

Open Neoblock8 opened 2 years ago

Neoblock8 commented 2 years ago

Hi, Connected socket with remote ip, but it is not connected.

const {lnd} = lnService.authenticatedLndGrpc({ cert: 'base64 encoded tls.cert', macaroon: 'base64 encoded admin.macaroon', socket: ':10009', });

error: err [ 503, 'FailedToConnectToDaemon' ]

How to connect with different server ip address?

alexbosworth commented 2 years ago

Make sure rpc listen is open? https://github.com/alexbosworth/run-lnd#install-lnd

does telnet to the address on that port yield a response?

Neoblock8 commented 2 years ago

Make sure rpc listen is open? https://github.com/alexbosworth/run-lnd#install-lnd

does telnet to the address on that port yield a response?

I got a response from telnet

alexbosworth commented 2 years ago

ok that's good, make sure tlsextraip or tlsextradomain were configured in lnd.conf before you generated the tls cert/key

moogmodular commented 2 years ago

any news on this?

i have a similar situation. im trying to reach my lnd node in an umbrel instance at home.

running lnd 15 beta

am i missing anything?