Enable IPv6

Bongjae Chang bongjae.chang at gmail.com
Wed Oct 26 21:01:10 EDT 2011


Hi Bob and Trustin,

>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/ind
ex.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.
>
> Thank you,
>
> Bob McConnell
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
_______________________________________________ netty-users mailing list
netty-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/netty-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111027/e7cc101c/attachment.html 


More information about the netty-users mailing list