0

I have an ec2 instance. I have opened a port in the security group for cassandra (9160) and have cassandra listening on it. If I use nmap on the instance, that port does not show up, and I cannot connect to the cassandra node remotely via cassandra-cli, cqlsh, or python-cql. This leads me to believe I am missing something in opening the port. So in general how does one open a port in an ec2 instance on the Ubuntu AMI?

2 Answers2

2

Cassandra uses Thrift internally for RPC and gossips which works at 7199 protocol. If your 9160 port is opened on security groups and your cassandra is a cluster instead of single machine, then there is a chance that some internal dependent ports are not opened

user217028
  • 21
  • 2
1

Have you checked How can I open a port on my EC2 instance?

You basically want to open up the firewall on the OS level, you also need to open up the security group for the AMI. Otherwise the port is blocked by Amazons security policy.

Sven Delmas
  • 196
  • 1
  • 6