I am trying to start cqlsh and this is what I get:
/bin$ ./cqlsh
Connection error: ('Unable to connect to any servers', {'127.0.0.1':
OperationTimedOut('errors=None, last_host=None',)})
I tried removing ~/.cassandra, did not work. I also compared cassandra.yaml with a version that worked.
Any ideas?
Depending on your version and configuration, check the values specified for
listen_address
and/orrpc_address
in yourcassandra.yaml
. If they are defined to anything other thanlocalhost
, you will need to provide that address when connecting withcqlsh
.