If I give the explicit host address and port number, it connects. So by default 
it takes the thrift service port and in my opinion that is not a correct 
behavior.

Rajanarayanans-MacBook-Pro:cassandra-trunk RajT$ ./bin/cqlsh 127.0.0.1 9042
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 3.0.0-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
cqlsh> 

Thanks
-Raj
On 11-Nov-2014, at 2:46 pm, Rajanarayanan Thottuvaikkatumana 
<rnambood...@gmail.com> wrote:

> In the trunk version of the code base with the latest code, the cqlsh is not 
> connecting. Here is the message I am getting.
> 
> Rajanarayanans-MacBook-Pro:cassandra-trunk RajT$ ./bin/cqlsh
> Connection error: ('Unable to connect to any servers', {'127.0.0.1': 
> ConnectionShutdown('Connection <AsyncoreConnection(4405206416) 127.0.0.1:9160 
> (closed)> is already closed',)})
> 
> I have done restarting to make sure that there is no clash with the port 
> number and stuff like that. The server has started without any exceptions.
> 
> Any idea?
> 
> Thanks
> -Raj

Reply via email to