[erlang-questions] inet:getaddr different results in two different erlang nodes (same machine)

Attila Rajmund Nohl attila.r.nohl@REDACTED
Mon Jun 29 14:11:14 CEST 2009


2009/6/29, Enrique Marcote <mpquique@REDACTED>:
> Hi,
>
> I have two erlang nodes running simultaneously on the same machine
> (windows 2003 server).
>
> In one of them I get:
>
> (ssentinel@REDACTED)49> gen_tcp:connect({192,168,2,32}, 2200,
> [inet], 3000).
> {ok,#Port<0.1796813>}
> (ssentinel@REDACTED)50> gen_tcp:connect("192.168.2.32", 2200,
> [inet], 3000).
> {error,timeout}
> (ssentinel@REDACTED)51> inet:getaddr("192.168.2.32", inet).
> {error,timeout}

Isn't it R13B? In my experience R13B tends to handle the
"192.168.2.32" string as an IPv6 address (or something like this).


More information about the erlang-questions mailing list