I have cassandra in my local private network and I'm trying to access from a different PC but while connecting to cassandra server I'm getting this error.
from cassandra.cluster import Cluster cluster = Cluster(["192.168.1.170"]) session = cluster.connect()
('Unable to connect to any servers', {'192.168.1.170': ConnectionRefusedError(10061, "Tried connecting to [('192.168.1.170', 9042)]. Last error: No connection could be made because the target machine actively refused it")})
Can someone help me out ?