I'm fairly new to Cassandra, and have recently implemented a 2-node cluster on Amazon EC2. I have the 2 data nodes, and 1 application server (running .NET 4.0, connecting to the data nodes through the Cassandra driver), all in the same Amazon availability zone.
After a whole lot of tweaking of the security group, I was finally able to get the connection to work by creating an inbound rule on each of the data nodes to allow ALL TCP traffic from the application server. I don't think this is particularly ideal security-wise, even though I don't see it as a huge risk especially since I'm using private IPs.
My question is this, what port is used for the connection between a .NET Cassandra driver, and the cluster? Based on the documentation, I thought that's what the 9160 RPC port was all about, but when I created a rule for that it didn't seem to do anything. I also tried 7199 and 9042 (just based on little tid bits I've found scattered on the internet).
Thanks, Todd