> -----Original Message----- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Monday, November 26, 2012 1:17 PM > To: Tomcat Users List > Subject: Re: Using the Tomcat Native Library can only connect over ipv6 > But not over ipv4 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Zorro, > > On 11/23/12 4:37 PM, Zorro wrote: > > its not really a problem but if we ever migrate the internet to > > IPv6 it would be brilliant to have the connector serving both > > protocols which the http-bio-80 connector seems to be able to do > > Let me double-check: are you saying that Tomcat/APR will only do IPv4 > *or* IPv6 but not both? ... and that the BIO and NIO connectors *will* > allow both? > > - -chris
Chris - This has long been an issue with the Windows version of APR. If you leave off the "address=" parameter of the connector, it will default to IPv6 only. The workaround I've been using for years is the "address=0.0.0.0" feature, since I'm an IPv4 only setup. Theoretically, it should set up both connections, but doesn't. I'm not sure if anyone's ever found a reason for this behavior, but it does only seem to affect APR connections. You can search back in history a year or so for more detailed analysis if you'd like. (search for my posts on the subject.) Jeff