Problem: In Single node setup of cassandra, after installation and starting Cassandra, the native port (9042) is not accessible from outside the local box.
Reason : By default Cassandra binds to the loopback IP or localhost.
Fix:
sudo vi /etc/cassandra/cassandra.yaml # Comment out below line #listen_address: localhost # Uncomment below lines listen_interface: eth0 listen_interface_prefer_ipv6: false #Comment out below line # rpc_address: localhost #Uncomment below lines rpc_interface: eth0 rpc_interface_prefer_ipv6: false seeds: "127.0.0.1,192.168.14.49" #Added the LAN address after a comma