cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: Can not connect to cassandra 0.7 using CLI
Date Wed, 01 Dec 2010 20:49:22 GMT
Take a look at your cassandra.yaml file at the rpc_address this is the address it's listening
to connections on. The comments there should help, if you set it to 0.0.0.0 it will bind to
all interfaces.  Probably not what you want in production but handy for dev.

Hope that helps. 
Aaron

On 02 Dec, 2010,at 09:40 AM, Joshua Partogi <jpartogi@scrum8.com> wrote:

Hi Brayton.

Thanks for the reply. It was running find on 06.8 on the same box.

Kind regards,
Joshua

On Thu, Dec 2, 2010 at 1:05 AM, Brayton Thompson <thompsbp@grnoc.iu.edu> wrote:
All of the times I have had similar issues the problem has always been misconfigured iptables.
You said it was running fine on 0.6.8 though?
On the same box or a different box?


On Dec 1, 2010, at 6:29 AM, Joshua Partogi wrote:

Hi there,

I just downloaded cassandra 0.7rc1. I started it using bin/cassandra without making any configuration
changes.

I then tried to connect using the CLI with command like this:

foo@ubuntu:~/Applications/apache-cassandra-0.7.0-rc1$ bin/cassandra-cli
Welcome to cassandra CLI.

Type 'help' or '?' for help. Type 'quit' or 'exit' to quit
[default@unknown] connect localhost/9160;
Exception connecting to localhost/9160. Reason: Connection refused.

Why am I getting connection refused? I didn't experience this with cassandra 0.6.8.

Thank you in advance for your help.

Kind regards,
Joshua.

-- 
http://twitter.com/jpartogi




-- 
http://twitter.com/jpartogi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message