[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: net.ipv6.bindv6only



On Sat, Mar 6, 2010 at 8:00 PM, Vincent Fourmond <fourmond@gmail.com> 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 ?

freecol


Cheers,
Torsten


Reply to: