It is set to localhost I didn't change it and it is the same as configured in 0.6.8. Why doesn't it work out of the box?
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 <email@example.com> wrote:
Thanks for the reply. It was running find on 0.6.8 on the same box.
JoshuaOn Thu, Dec 2, 2010 at 1:05 AM, Brayton Thompson <firstname.lastname@example.org> 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:
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.