cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Ancona <...@anconafamily.com>
Subject Re: Could Not connect to cassandra-cli on windows
Date Tue, 09 Nov 2010 16:30:10 GMT
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

Mime
View raw message