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:
[bash]
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
[/bash]

Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics.
He now runs a conversational AI company – DheeYantra – focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.