I tried to build a 6 nodes cassandra cluster with 2 DCs on AWS. I created EC2 with t2.micro on public subnet with public IP. The OS is Ubuntu 22.04. After install, I changed the listen_address to private IP 10.0.0.119 and seeds set the same IP. I set the endpoint_snitch to Ec2Snitch and cassandra instance was running and when I issued nodwtool status I got below error:
root@ip-10-0-0-119:/etc/cassandra# nodetool status
nodetool: Failed to connect to '127.0.0.1:7199' - ConnectException: 'Connection refused'.
I tried other snitch such as GossipingPropertyFileSnitch and SimpleSnitch. no help.
I checked google for multiple posts and none of them helps. please advise if there is suggestion.