incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Langston, Jim" <Jim.Langs...@compuware.com>
Subject Re: cassandra woes ----- why cant cassandra work with the outside world with port 9160
Date Thu, 17 Apr 2014 11:55:52 GMT
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 <davidmontgomery@gmail.com<mailto:davidmontgomery@gmail.com>>
Reply-To: <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Date: Thu, 17 Apr 2014 19:32:43 +0800
To: <user@cassandra.apache.org<mailto:user@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

Mime
View raw message