First, no, it does not by default connect to the thrift service port - it does
use 9042 by default.
You most likely have the port overridden in ~/.cassandra/cqlshrc, set to 9160.
Secondly, this is not a question for dev@ - this belongs to the users mailing
list.
Thanks.
--
AY
On November 11
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