You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2016/01/20 18:40:40 UTC
[jira] [Commented] (CASSANDRA-11047) native protocol will not bind
ipv6
[ https://issues.apache.org/jira/browse/CASSANDRA-11047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15109015#comment-15109015 ]
Brandon Williams commented on CASSANDRA-11047:
----------------------------------------------
Ping [~norman] since this looks like a netty thing.
> 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
>
> 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)