cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alaa Zubaidi <alaa.zuba...@pdf.com>
Subject Re: Could Not connect to cassandra-cli on windows
Date Tue, 09 Nov 2010 17:35:17 GMT
Thanks Jim,

It works when using it as arguments to cassandra-cli and using -port... 
is this a bug??

E:\Cassandra\Cass07b3\apache-cassandra-0.7.0-beta3>bin\cassandra-cli.bat 
-host 192.168.1.11 -port 9160
Starting Cassandra Client
Connected to: "Test Cluster" on 192.168.1.11/9160
Welcome to cassandra CLI.

Type 'help' or '?' for help. Type 'quit' or 'exit' to quit.

Alaa

On 11/9/2010 8:30 AM, Jim Ancona wrote:
> On Mon, Nov 8, 2010 at 8:31 PM, Alaa Zubaidi<alaa.zubaidi@pdf.com>  wrote:
>> Hi,
>> Failing to connect to cassandra client: on windows
>>
>> [default@unknown] connect localhost/9160
>> Exception connecting to localhost/9160. Reason: Connection refused: connect.
>>
>> [default@unknown] connect xxx.xxx.x.xx/9160
>> Syntax error at position 0: no viable alternative at input 'connect'
>>
>> [default@unknown] connect xxx.xxx.x.xx\9160
>> Syntax error at position 20: no viable alternative at character '\'
>>
>> Any idea how to connect?
> In the first example, are you sure Cassandra was running on port 9160
> on your local machine?
>
> You could also try
> cassandra-cli -host hostname -port port
> e.g.
> cassandra-cli -host localhost -port 9160
>
> Jim
>
>

-- 
Alaa Zubaidi
PDF Solutions, Inc.
333 West San Carlos Street, Suite 700
San Jose, CA 95110  USA
Tel: 408-283-5639 (or 408-280-7900 x5639)
fax: 408-938-6479
email: alaa.zubaidi@pdf.com



Mime
View raw message