how do i get my @host for LN

0

I cannot find where to get the host to complete a lightning channel. I have tried searching in the command prompt but cannot find host info anywhere.

Joe Saz

Posted 2019-02-25T16:00:39.183

Reputation: 1

Answers

0

Your question seems a little bit underspecified. So not sure if I can really help you. The host is your public IP address so if you are logged on the machine on which the lightning node runs you can try typing curl -4 https://icanhazip.com/ to the command line.

if you are running c-lightning you can do: lightning-cli getinfo and it will also depict your public IP address. Not sure if the other implementations have an API call to depict this information.

Rene Pickhardt

Posted 2019-02-25T16:00:39.183

Reputation: 6 565

LND requires setting the information for generating the certificates for SSL (required) so the user must specify their own information. Will add a link in a secondPW Kad 2019-02-25T17:28:28.550

@rene thank you for response i was able to realize my host is my ip address which i was able to obtain. i got the port for LN as well. unfortunately i was still unable to open a channel with a friend. i gave it a try and thank you for the help.Joe Saz 2019-02-26T14:27:54.027

@pw kad thank you for your reply as well. take care guys.Joe Saz 2019-02-26T14:28:18.503