Re: Cannot bind epmd to an IPv4 address after building with -DEPMD6
Dariusz Gadomski <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <20141118120634.GA13483@phenom> |
Hello again. On Fri, Nov 14, 2014 at 11:01:22AM +0100, Dariusz Gadomski wrote: > $ ERL_EPMD_ADDRESS="127.0.0.1" epmd > epmd: Fri Nov 14 11:00:47 2014: cannot parse IP address "127.0.0.1" > > Can you please confirm this? Is it a known issue? Maybe there is a workaround? I have managed to observe that for Linux the IPV6_V6ONLY socket option is *disabled* by default so it is possible to use IPv4-mapped IPv6 address [1]. Hence, I was able to do: $ ERL_EMPD_ADDRESS="::ffff:127.0.0.1" empd However, if IPV6_V6ONLY would be turned on or the mapping feature would not be supported (e.g. Windows XP) this workaround would not have been possible. This may still be a bug. [1] http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses Kind regards, Dariusz Gadomski _______________________________________________ erlang-bugs mailing list [email protected] http://erlang.org/mailman/listinfo/erlang-bugs