- Cassandra is installed on a Virtual Machine ( IP address - 192.168.a.b) created using KVM on a Ubuntu host (H1) machine ( IP address - p.q.r.s)
- Send cassandra stress command from another Ubuntu machine (H2)( IP address - p.q.r.t) which is in same network as H1
- Ports 7000 and 9042 on H1 are forwarded to the same ports on the virtual machine using iptables on H1
- When the listen_address and rpc_address of cassandra.yaml is set to the IP address of H1 (p.q.r.s) the following error is displayed
Unable to bind to address /p.q.r.s:7000 . Set listen_address in cassandra.yaml to an interface you can bind to, e.g., your private IP address on EC2
- My experiment requires a cluster of Cassandra on virtual machine installed on 3 host machines described like above. ( 1 VM per host machine)