You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by David Montgomery <da...@gmail.com> on 2014/04/17 13:32:43 UTC

cassandra woes ----- why cant cassandra work with the outside world with port 9160

Why can no server connect to 9160?  I dont understand?  Yes...i have the
port open.  I am using ip address as listen_address on cassandra.yaml.  I
can telnet to 7199....but 9160 is a total disaster.  I can telnet from
localhost but fro remote?  no way.

How do I open up 9160?  I have both brodcast and listen_address set to the
server ip address.

E.g. this is the error I get when trying ti use cassandra from titan

Caused by:
com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException:
PoolTimeoutException:
[host=cassandra.do.development.sf..com(cassandra.do.development.sf..com):9160,
latency=10001(10001), attempts=1]Timed out waiting for connection



tcp        0      0 *:7199                  *:*
LISTEN
tcp        0      0 *:4772                  *:*
LISTEN
tcp        0      0 ip6-localhost:9160      *:*
LISTEN
tcp        0      0 ip6-localhost:9042      *:*
LISTEN
tcp        0      0 *:12662                 *:*
LISTEN
tcp        0      0 *:ssh                   *:*
LISTEN
tcp        0      0 107.170:afs3-fileserver *:*
LISTEN
tcp6       0      0 [::]:ssh                [::]:*
LISTEN
udp        0      0 107.170.236.189:ntp
*:*
udp        0      0 ip6-localhost:ntp
*:*
udp        0      0 *:ntp
*:*
udp6       0      0 fe80::601:16ff:fea8:ntp
[::]:*
udp6       0      0 ip6-localhost:ntp
[::]:*
udp6       0      0 [::]:ntp                [::]:*
Why

RE: cassandra woes ----- why cant cassandra work with the outside world with port 9160

Posted by Zohar Shay <zo...@answers.com>.
I believe port 9160 is the thrift port which is governed by the
"rpc_address" configuration parameter in Cassandra.yaml.

Zohar


From: Langston, Jim [mailto:Jim.Langston@compuware.com]
Sent: Thursday, April 17, 2014 2:56 PM
To: user@cassandra.apache.org
Subject: Re: cassandra woes ----- why cant cassandra work with the outside
world with port 9160

The port isn't open to the outside, only to the localhost

tcp        0      0 ip6-localhost:9160      *:*
LISTEN

you should see something like:

tcp        0      0 0.0.0.0:9160            0.0.0.0:*               LISTEN
     20480/jsvc.exec


Jim

From: David Montgomery <da...@gmail.com>
Reply-To: <us...@cassandra.apache.org>
Date: Thu, 17 Apr 2014 19:32:43 +0800
To: <us...@cassandra.apache.org>
Subject: cassandra woes ----- why cant cassandra work with the outside
world with port 9160


Why can no server connect to 9160?  I dont understand?  Yes...i have the
port open.  I am using ip address as listen_address on cassandra.yaml.  I
can telnet to 7199....but 9160 is a total disaster.  I can telnet from
localhost but fro remote?  no way.
How do I open up 9160?  I have both brodcast and listen_address set to the
server ip address.

E.g. this is the error I get when trying ti use cassandra from titan

Caused by:
com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException:
PoolTimeoutException:
[host=cassandra.do.development.sf..com(cassandra.do.development.sf..com):9
160, latency=10001(10001), attempts=1]Timed out waiting for connection


tcp        0      0 *:7199                  *:*
LISTEN
tcp        0      0 *:4772                  *:*
LISTEN
tcp        0      0 ip6-localhost:9160      *:*
LISTEN
tcp        0      0 ip6-localhost:9042      *:*
LISTEN
tcp        0      0 *:12662                 *:*
LISTEN
tcp        0      0 *:ssh                   *:*
LISTEN
tcp        0      0 107.170:afs3-fileserver *:*
LISTEN
tcp6       0      0 [::]:ssh                [::]:*
LISTEN
udp        0      0 107.170.236.189:ntp
*:*
udp        0      0 ip6-localhost:ntp
*:*
udp        0      0 *:ntp
*:*
udp6       0      0 fe80::601:16ff:fea8:ntp
[::]:*
udp6       0      0 ip6-localhost:ntp
[::]:*
udp6       0      0 [::]:ntp                [::]:*
Why
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or
disclose it to anyone else. If you received it in error please notify us
immediately and then destroy it

Re: cassandra woes ----- why cant cassandra work with the outside world with port 9160

Posted by "Langston, Jim" <Ji...@compuware.com>.
The port isn't open to the outside, only to the localhost

tcp        0      0 ip6-localhost:9160      *:*                     LISTEN

you should see something like:

tcp        0      0 0.0.0.0:9160            0.0.0.0:*               LISTEN      20480/jsvc.exec


Jim

From: David Montgomery <da...@gmail.com>>
Reply-To: <us...@cassandra.apache.org>>
Date: Thu, 17 Apr 2014 19:32:43 +0800
To: <us...@cassandra.apache.org>>
Subject: cassandra woes ----- why cant cassandra work with the outside world with port 9160



Why can no server connect to 9160?  I dont understand?  Yes...i have the port open.  I am using ip address as listen_address on cassandra.yaml.  I can telnet to 7199....but 9160 is a total disaster.  I can telnet from localhost but fro remote?  no way.

How do I open up 9160?  I have both brodcast and listen_address set to the server ip address.

E.g. this is the error I get when trying ti use cassandra from titan

Caused by: com.netflix.astyanax.connectionpool.exceptions.PoolTimeoutException: PoolTimeoutException: [host=cassandra.do.development.sf..com(cassandra.do.development.sf..com):9160, latency=10001(10001), attempts=1]Timed out waiting for connection



tcp        0      0 *:7199                  *:*                     LISTEN
tcp        0      0 *:4772                  *:*                     LISTEN
tcp        0      0 ip6-localhost:9160      *:*                     LISTEN
tcp        0      0 ip6-localhost:9042      *:*                     LISTEN
tcp        0      0 *:12662                 *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp        0      0 107.170:afs3-fileserver *:*                     LISTEN
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN
udp        0      0 107.170.236.189:ntp     *:*
udp        0      0 ip6-localhost:ntp       *:*
udp        0      0 *:ntp                   *:*
udp6       0      0 fe80::601:16ff:fea8:ntp [::]:*
udp6       0      0 ip6-localhost:ntp       [::]:*
udp6       0      0 [::]:ntp                [::]:*
Why
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it