-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[bug]: LND not listening on port 8080 #7125
Comments
Hi @xmready try changing your |
I just tried your suggestion, restarted lnd.service, and got the exact same results as in the OP. No dice. |
Wait a minute, I just realized that the below line is actually referring to port 8080
So it appears LND is listening on port 8080 after all. The plot thickens as to why I cannot get RTL to communicate and why it's throwing errors about port 8080 |
I figured it out. I had to change
|
Change `localhost` to `127.0.0.1` in the RTL config file to avoid the following errors: ``` $ node rtl [11/7/2022, 3:34:35 PM] INFO: RTL => Server is up and running, please open the UI at http://localhost:3000 or your proxy configured url. [11/7/2022, 3:35:05 PM] ERROR: Common => Error in Channel Backup for xxxxx: connect ECONNREFUSED ::1:8080 [11/7/2022, 3:35:05 PM] ERROR: GetInfo => Get Info Error: {"name":"RequestError","message":"Error: connect ECONNREFUSED ::1:8080","cause":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8080},"error":{"errno":-111,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":8080},"options":{"url":"https://localhost:8080/v1/getinfo","rejectUnauthorized":false,"json":true,"headers":{},"method":"GET","qs":{},"simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false}} ``` Here is a link to an issue on the RTL GitHub describing the same problem with this change posted as the solution Ride-The-Lightning/RTL#1120 Here is a link to an issue I created in the LND GitHub trying to troubleshoot it before I figured it out. lightningnetwork/lnd#7125
Background
I installed LND with my full node, but it's not listening on port 8080 with the rest API. I haven't created any channels yet, but I wanted to get RTL running first, which requires the rest API on that port. I created a wallet fine and can use
lncli
fine.Your environment
lnd version 0.15.4-beta commit=v0.15.4-beta
Linux 5.15.64-1-pve #1 SMP PVE 5.15.64-1 (Thu, 13 Oct 2022 10:30:34 +0200) x86_64 x86_64 x86_64 GNU/Linux
Bitcoin Core version v23.0.0
Expected behaviour
I should see port 8080 and RTL should establish a connection with it.
The text was updated successfully, but these errors were encountered: