Re: Does datastax java driver works with ipv6 address?

2015-11-05 Thread Eric Stevens
The server is binding to the IPv4 "all addresses" reserved address (0.0.0.0), but binding it as IPv4 over IPv6 (:::0.0.0.0), which does not have the same meaning as the IPv6 all addresses reserved IP (being ::, aka 0:0:0:0:0:0:0:0). My guess is you have an IPv4 address of 0.0.0.0 in

Re: Does datastax java driver works with ipv6 address?

2015-11-04 Thread Michael Shuler
On 11/04/2015 11:17 AM, Dikang Gu wrote: I have ipv6 only cassandra cluster, and I'm trying to connect to it using java driver, like: Inet6Address inet6 = (Inet6Address) InetAddress.getByName("2401:db00:0011:60ed:face::0031:"); cluster =

Re: Does datastax java driver works with ipv6 address?

2015-11-04 Thread Dikang Gu
Thanks Michael, Actually I find the problem is with the sever setup, I put "rpc_address: 0.0.0.0" in the config, and I find the sever bind to the address like this: tcp0 0 :::9160 :::* LISTEN 2411582/java tcp0 0 :::0.0.0.0:9042 :::*

Does datastax java driver works with ipv6 address?

2015-11-04 Thread Dikang Gu
Hi there, I have ipv6 only cassandra cluster, and I'm trying to connect to it using java driver, like: Inet6Address inet6 = (Inet6Address) InetAddress.getByName("2401:db00:0011:60ed:face::0031:"); cluster = Cluster.builder().addContactPointsWithPorts(Arrays.asList(new