[bisq-network/bisq] Change IP for local node connection to Loopback address (#4373)

dmos62 notifications at github.com
Mon Jul 27 14:33:29 UTC 2020


> If the local Bitcoin full node is bound to only listen on the loopback interface (127.0.0.1), attempting to open a socket to `InetAddress.getLocalHost()` - the return of which is variable but usually NOT 127.0.0.1 - will not work. Changing to `InetAddress.getLoopbackAddress()` resolves this.

Researched this a bit, but I'm still a bit fuzzy. As far as I can tell `localhost` normally does resolve to the loopback interface. Under what conditions doesn't it?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4373#issuecomment-664432908
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200727/db47bdec/attachment.html>


More information about the bisq-github mailing list