cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11047) native protocol will not bind ipv6
Date Wed, 20 Jan 2016 17:38:39 GMT

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

Brandon Williams updated CASSANDRA-11047:
-----------------------------------------
    Reproduced In: 2.1.x

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

Mime
View raw message