[erlang-questions] http:request/5 returns econnrefused for localhost

Jan Lehnardt jan@REDACTED
Tue Jun 24 11:58:04 CEST 2008


On Jun 24, 2008, at 11:48, 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.

Right, that's the other solution :) My previous mail was sent pre- 
coffee :)

Cheers
Jan
--



More information about the erlang-questions mailing list