Torsten Werner wrote:
> On Sat, Mar 6, 2010 at 8:00 PM, Vincent Fourmond <firstname.lastname@example.org> wrote:
>> freecol fails, because it spawns a server on "localhost", but it
>> connects using 127.0.0.1.
> Yes that is the problem. Replacing 127.0.0.1 with localhost should be
> the correct fix.
>> What I think is happening is that localhost is IPv6 by default (why ?)
>> so freecol fails when it later connects to 127.0.0.1.
> It listens on [::]:3541 and that is IPv6 only if net.ipv6.bindv6only=1.
>> Is that a bug in openjdk (ie fails to listen on both IPv6 and IPv4, or
>> takes localhost as IPv6 only) or freecol ?
Upstream is about to release a new version (fixing major usability
bugs for the 0.9 series, which I haven't packaged yet because of these);
I'll see if the problem still occurs, and I'll fix it if needs be.
Some pirates achieved immortality by great deeds of cruelty
and derring-do. Some achieved immortality by amassing great
wealth. But the captain had long ago decided that he would,
on the whole, prefer to achieve immortality by not dying.
-- Terry Pratchet, the Colour of Magic
Vincent, not listening to anything for now