riptano / ccm

A script to easily create and destroy an Apache Cassandra cluster on localhost
Apache License 2.0
1.22k stars 303 forks source link

How to allow remote connection #693

Open oneandonlyonebutyou opened 5 years ago

oneandonlyonebutyou commented 5 years ago

I am trying to connect to my cluster from a remote machine (my setup is in MacOS) and I get

Connection error: ('Unable to connect to any servers', {'<server ip>': error(61, "Tried connecting to [('<my server ip>', 9160)]. Last error: Connection refused")})

based on my research () I found out I need to change some conf: which I did modified " ~/.ccm/repository/3.11.3/conf/cassandra.yaml" file and then I did ccm stop; ccm start and still the same issue (not even sure my changes are taking effect )