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

Ignatios Souvatzis ignatios@REDACTED
Tue Jun 24 11:48:11 CEST 2008


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. 

	-is



More information about the erlang-questions mailing list