Closed ketominer closed 3 years ago
We display localhost
when the value is set to 0.0.0.0
because you cannot copy/paste "http://0.0.0.0:3010" into a browser.
The actual host:port is logged in the message above: "LITD: Listening for http_tls on: [::]:3010"
Going to fix this by just showing both values, the original and the copy/paste-able URL.
Logs report "localhost" instead of the actual listening IP / interface
Expected behavior
Logs should report actual listening IP: " Web interface https://localhost:3010 "
Actual behavior
To reproduce
./litd --httpslisten=0.0.0.0:3010 --uipassword=xxx --remote.lnd.macaroonpath=~/.lnd/data/chain/bitcoin/mainnet/admin.macaroon
System information
LiT installed from release TGZ on ARM64