[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 getinforesponse is displaying the externally advertised IP:s+ports that you've specified using theexternalipconfig option, and not the IP:s+ports set for thelistenconfig option.As specified in the
sample-lnd.conffile, if you do not set any port for an IP for theexternalipconfig option, the default port used will be 9735.In other words, if you just set:
externalip=1111.1.1.1That will use the default port and therefore show the
lncli getinforesponse as:Where as if you specify a port for the
externalipconfig option:externalip=1111.1.1.1:9666that will then be used for the
lncli getinfores…