0

When i tried to connect to my cassandra cluster with cqlsh, i had this 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")})

So i go to the cassandra.yaml file but my rpc_adress and listen_address parameters are goods.

There is my listen_adress :

# ipv4. If there is only one address it will be selected regardless of ipv4/ipv6. listen_address: localhost

# listen_interface: eth0

# listen_interface_prefer_ipv6: false

And my rpc_address :

rpc_address: localhost

# port for Thrift to listen for clients on rpc_port: 9160

I also tried to modify the file, but i dont have the right for it.

Thank you in advance

Alexandre S.
  • 522
  • 2
  • 5
  • 24

0 Answers0