[erlang-questions] How to connect erlang nodes over IPv6 (on Ubuntu 10.04 server installations, Erlang R14B1)?
Tue Feb 15 15:40:34 CET 2011
2011/2/15 Michael Santos <michael.santos@REDACTED>:
> If clients are connected, the "kill" request doesn't actually do anything
> anymore (to have the old behaviour use the "-relaxed_command_check"
Actually there was no client connected (erl couldn't connect, it died first).
Using an IPv4 "empd", I could submit a "kill" request and it terminated.
This wasn't possible with the IPv6 version.
> epmd has a hard coded check for IPv4 localhost in epmd_srv.c:
> s->local_peer =
> ((((unsigned) ntohl(si.sin_addr.s_addr)) & 0xFF000000U) ==
> 0x7F000000U); /* Only 127.x.x.x allowed, no false positives */
Thanks for pointing me there... I will have a look at it, when I am home.
More information about the erlang-questions