Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket connection issue #154

Open
Neoblock8 opened this issue May 5, 2022 · 4 comments
Open

Socket connection issue #154

Neoblock8 opened this issue May 5, 2022 · 4 comments

Comments

@Neoblock8
Copy link

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: '<my_ipaddress>:10009',
});

error:
err [ 503, 'FailedToConnectToDaemon' ]

How to connect with different server ip address?

@alexbosworth
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@moogmodular
Copy link

any news on this?

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

  • im getting a response with telnet to <my-ip>:10009
  • <my-ip>:10009 is forwarded to lnd
  • rpclisten=0.0.0.0:10009 is configured
  • tlsextraip is configured to my cellphone ip => 'No connection established'
  • tlsextradomain is configured to a deployment of my nodejs app => 'No connection established'

running lnd 15 beta

am i missing anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants