On Mon, Nov 8, 2010 at 8:31 PM, Alaa Zubaidi <alaa.zuba...@pdf.com> wrote:
> Hi,
> Failing to connect to cassandra client: on windows
>
> [defa...@unknown] connect localhost/9160
> Exception connecting to localhost/9160. Reason: Connection refused: connect.
>
> [defa...@unknown] connect xxx.xxx.x.xx/9160
> Syntax error at position 0: no viable alternative at input 'connect'
>
> [defa...@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

Reply via email to