Hi,

I am getting an error connecting to cqlsh. I am getting the following
error.

Connection error: ('Unable to connect to any servers', {'127.0.0.1':
error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error:
Connection refused")})

I change the Cassandra.yaml file setting for rpc_address to my ip address
and listen_address to localhost.


listen_address: localhost
rpc_address: my_IP

I also tried to change the cassandra-env.sh  to add my IP address but still
same error.

JVM_OPTS="$JVM_OPTS -Djava.rmi.server.hostname=my_IP"

Any suggestion?

Reply via email to