Enable IPv6
Bob McConnell
rvm at cbord.com
Thu Oct 27 09:22:34 EDT 2011
I am aware of those Java 5 bug reports, but thought the problem with Java 6 was based on the experimental split stacks in XP and Server 2003. That’s why I expected it would work on Win7 and Server 2008. It was quite a surprise to see the same error message pop up after I migrated.
We’re nowhere near ready to begin testing Java 7 yet. The JRE and JDK will each require several man months of regression tests on multiple products before we can use them for production work. But this may be enough reason to at least move those tests into the technical backlog.
Thank you,
Bob McConnell
From: Bongjae Chang
>From another angle, it could be JDK's problems.
You can see several bug reports below:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6230761
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6936010 <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6936010)%EB%A5%BC>
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4640544
According to the 4640544 report, you could try to run Netty with JDK7 in Windows 2008.
I hope this is a help to you.
Thanks.
Regards,
Bongjae Chang
From: "이희승 (Trustin Lee)" <trustin at gmail.com>
Reply-To: Netty Users <netty-users at lists.jboss.org>
Date: Wed, 26 Oct 2011 17:22:04 -0700
To: Netty Users <netty-users at lists.jboss.org>
Subject: Re: Enable IPv6
Could you ensure that you are using the latest stable Netty and JDK version? You might also need to play with the IPv6 related flags in JVM:
http://download.oracle.com/javase/6/docs/technotes/guides/net/ipv6_guide/index.html
HTH
Bob McConnell wrote:
> How do I tell Netty to listen for TCP connections on both IPv4 and IPv6?
> I am currently getting this exception when I try to bind a server to
> local address "::".
>
> -----8<-------------------------------------------------------------
> Exception during socket startup for /0:0:0:0:0:0:0:0:2001.
> Exception: java.net.SocketException:
> Address family not supported by protocol family: bind. Stack trace:
> sun.nio.ch.Net.bind(Native Method)
> sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
> sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.bind(NioS
> erverSocketPipelineSink.java:148)
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleSer
> verSocket(NioServerSocketPipelineSink.java:100)
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk
> (NioServerSocketPipelineSink.java:74)
> org.jboss.netty.channel.Channels.bind(Channels.java:671)
> org.jboss.netty.channel.AbstractChannel.bind(AbstractChannel.java:170)
> org.jboss.netty.bootstrap.ServerBootstrap$Binder.channelOpen(ServerBoots
> trap.java:342)
> org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:190)
> org.jboss.netty.channel.socket.nio.NioServerSocketChannel.<init>(NioServ
> erSocketChannel.java:80)
> org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChan
> nel(NioServerSocketChannelFactory.java:142)
> org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.newChan
> nel(NioServerSocketChannelFactory.java:90)
> org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:275)
> -----8<-------------------------------------------------------------
>
> The application is running on MS-Windows Server 2008R2 Standard, SP1.
> Netty is version 3.1.5.GA.
> JRE build 1.6.0_29-b11.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111027/4f46a671/attachment-0001.html
More information about the netty-users
mailing list