[erlang-bugs] Cannot bind epmd to an IPv4 address after building with -DEPMD6
Dariusz Gadomski
dariusz.gadomski@REDACTED
Tue Nov 18 13:06:34 CET 2014
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
More information about the erlang-bugs
mailing list