[bug]: lncli getinfo
does not return the configured P2P port.
#10234
-
Background
I verified this via Your environment
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
HI @luisschwab, The port shown in the As specified in the In other words, if you just set:
Where as if you specify a port for the
|
Beta Was this translation helpful? Give feedback.
HI @luisschwab,
The port shown in the
lncli getinfo
response is displaying the externally advertised IP:s+ports that you've specified using theexternalip
config option, and not the IP:s+ports set for thelisten
config option.As specified in the
sample-lnd.conf
file, if you do not set any port for an IP for theexternalip
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: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…