[
https://issues.apache.org/jira/browse/CASSANDRA-11047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norman Maurer reassigned CASSANDRA-11047:
-----------------------------------------
Assignee: Norman Maurer
> native protocol will not bind ipv6
> ----------------------------------
>
> Key: CASSANDRA-11047
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11047
> Project: Cassandra
> Issue Type: Bug
> Components: CQL
> Reporter: Brandon Williams
> Assignee: Norman Maurer
> Fix For: 2.1.x, 2.2.x, 3.x
>
>
> When you set rpc_address to 0.0.0.0 it should bind every interface. Of
> course for ipv6 you have to comment out -Djava.net.preferIPv4Stack=true from
> cassandra-env.sh, however this will not make the native protocol bind on
> ipv6, only thrift:
> {noformat}
> tcp6 0 0 :::9160 :::* LISTEN
> 13488/java
> tcp6 0 0 0.0.0.0:9042 :::* LISTEN
> 13488/java
> # telnet ::1 9160
> Trying ::1...
> Connected to ::1.
> Escape character is '^]'.
> ^]
> telnet> quit
> Connection closed.
> # telnet ::1 9042
> Trying ::1...
> telnet: Unable to connect to remote host: Connection refused
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)