Skip to content
Discussion options

You must be logged in to vote

HI @luisschwab,

The port shown in the lncli getinfo response is displaying the externally advertised IP:s+ports that you've specified using the externalip config option, and not the IP:s+ports set for the listen config option.

As specified in the sample-lnd.conf file, if you do not set any port for an IP for the externalip config option, the default port used will be 9735.

In other words, if you just set:
externalip=1111.1.1.1
That will use the default port and therefore show the lncli getinfo response as:

"uris": [
    "[email protected]:9735"
],`

Where as if you specify a port for the externalip config option:
externalip=1111.1.1.1:9666
that will then be used for the lncli getinfo res…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@luisschwab
Comment options

@luisschwab
Comment options

@ViktorT-11
Comment options

@luisschwab
Comment options

Answer selected by saubyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Support questions, not issues with the code
2 participants
Converted from issue

This discussion was converted from issue #10231 on September 22, 2025 14:24.