Hi, did you try with the address of the node rather than 127.0.0.1 Is the transport protocol used by cqlsh (not sure if it is thrift or binary - native in 2.1) active ? What is the "nodetool info" output ?
C*heers, ----------------------- Alain Rodriguez - al...@thelastpickle.com France The Last Pickle - Apache Cassandra Consulting http://www.thelastpickle.com 2016-03-17 14:26 GMT+01:00 joseph gao <gaojf.bok...@gmail.com>: > hi, all > cassandra version 2.1.7 > When I use cqlsh to connect cassandra, something is wrong > > Connection error: ( Unable to connect to any servers', {'127.0.0.1': > OperationTimedOut('errors=None, last_host=None,)}) > > This happens lots of times, but sometime it works just fine. Anybody knows > why? > > -- > ------ > Joseph Gao > PhoneNum:15210513582 > QQ: 409343351 >