Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BA5318863 for ; Wed, 27 Jan 2016 08:11:40 +0000 (UTC) Received: (qmail 53060 invoked by uid 500); 27 Jan 2016 08:11:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 53024 invoked by uid 500); 27 Jan 2016 08:11:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 53009 invoked by uid 99); 27 Jan 2016 08:11:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jan 2016 08:11:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E1D3C2C1F58 for ; Wed, 27 Jan 2016 08:11:39 +0000 (UTC) Date: Wed, 27 Jan 2016 08:11:39 +0000 (UTC) From: "Norman Maurer (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11047) native protocol will not bind ipv6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-11047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118835#comment-15118835 ] Norman Maurer commented on CASSANDRA-11047: ------------------------------------------- [~brandon.williams] I just proposed a fix for netty : https://github.com/netty/netty/pull/4770 > 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)