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/29 20:34:39 UTC

[jira] [Resolved] (CASSANDRA-11047) native protocol will not bind ipv6

     [ https://issues.apache.org/jira/browse/CASSANDRA-11047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Williams resolved CASSANDRA-11047.
------------------------------------------
    Resolution: Fixed

I saw that, thanks!  I'll follow up with another ticket to upgrade netty.

> 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)