Thanks!<br><br>I modified my /etc/hosts file as follows:<br><br>#::1     localhost ip6-localhost ip6-loopback<br>::1     ip6-localhost ip6-loopback<br><br>Everything then worked correctly after that. That's probably not the best way to do things, so I looked everywhere to try to find how to enable IPv6 in Yaws and could find no reference to it. I even looked in the Yaws source code. Can you clue me in please?<br>
<br><br><div class="gmail_quote">On Tue, Jun 24, 2008 at 5:58 AM, Jan Lehnardt <<a href="mailto:jan@apache.org">jan@apache.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On Jun 24, 2008, at 11:48, Ignatios Souvatzis wrote:<br>
<br>
> On Tue, Jun 24, 2008 at 08:43:35AM +0200, Jan Lehnardt wrote:<br>
><br>
>> We have seen the same issue with CouchDB. What we found out<br>
>> is that in our case localhost was not only resolving to <a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>
>> (IPv4)<br>
>> but also ::1 (IPv6) and that http:request() would try to connect to<br>
>> ::1 where no service was listening.<br>
>><br>
>> Try disabling IPv6 networking to verify this.<br>
><br>
> Uhm... the fix would be to enable IPv6 in his Yaws. After all, it's<br>
> easy;<br>
> the IPv6 support in Erlang is pretty good.<br>
<br>
</div>Right, that's the other solution :) My previous mail was sent pre-<br>
coffee :)<br>
<br>
Cheers<br>
Jan<br>
<font color="#888888">--<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</div></div></blockquote></div><br>