[erlang-questions] http:request/5 returns econnrefused for localhost
Claes Wikström
klacke@REDACTED
Tue Jul 1 23:17:05 CEST 2008
Ignatios Souvatzis wrote:
> On Tue, Jun 24, 2008 at 08:43:35AM +0200, Jan Lehnardt wrote:
>
>> We have seen the same issue with CouchDB. What we found out
>> is that in our case localhost was not only resolving to 127.0.0.1 (IPv4)
>> but also ::1 (IPv6) and that http:request() would try to connect to
>> ::1 where no service was listening.
>>
>> Try disabling IPv6 networking to verify this.
>
> Uhm... the fix would be to enable IPv6 in his Yaws. After all, it's easy;
> the IPv6 support in Erlang is pretty good.
>
Has anybody tried Yaws with IPv6 - I haven't
/klacke
More information about the erlang-questions
mailing list