Use of http:request

Greg Smyth gsmyth@REDACTED
Thu Jan 14 16:59:42 CET 2010

Hi all,

I'm having a bit of a problem understanding why http:request is
returning "{error,nxdomain}" - whenever the box seems to resolve
properly via inet:gethostbyname:-

5> inet:gethostbyname("").
6> http:request("").

other addresses (such as, seem to request fine, as does
requesting directly via IP:-

7> http:request("").

I've checked my /etc/hosts file - no entries in there apart from localhost....

Any ideas?


More information about the erlang-questions mailing list