W2003 vs. inet vs. inets ?

Robert Raschke rtrlists@REDACTED
Thu Jul 16 20:21:29 CEST 2009


Hi,

I've come across a weird issue with the last R12B release (erts 5.6.5)
running on Windows 2003 Server.

When I start my node (long or short name makes no difference) I can find out
about my IP address. But when I start inets and fire off an http request
(which for a currently unknown reason times out), then I am no longer able
to find my IP address:

(erl@REDACTED)1> inet:getaddr("localhost", inet).
{ok,{127,0,0,1}}
(erl@REDACTED)2> inet:getaddr("vm-153013-2", inet).
{ok,{172,16,3,32}}
(erl@REDACTED)3> inets:start().
ok
(erl@REDACTED)4> inet:getaddr("localhost", inet).
{ok,{127,0,0,1}}
(erl@REDACTED)5> inet:getaddr("vm-153013-2", inet).
{ok,{172,16,3,32}}
(erl@REDACTED)6> http:request("http://www.google.com").
{error,timeout}
(erl@REDACTED)7> inet:getaddr("localhost", inet).
{error,timeout}
(erl@REDACTED)8> inet:getaddr("vm-153013-2", inet).
{error,timeout}
(erl@REDACTED)9>

Has anyone seen something like this? And where would I start hunting?
(I'll try R13 tomorrow.)

Thanks for any pointers,
Robby


More information about the erlang-questions mailing list