I have set the following.
rpc_address to external public ip.
Listen Address : internal ip address (not the local host),
rpc_broad_cast: internal ip address
On Dev center, I am using external ip and port 9042.
Let me know, if am doing anything wrong.
Thank you snakecharmerb for trying to help me out on this.
I was able to find a solution for this myself. The actual problem was I was using Dev Center 1.4 to connect to Cassandra 3. Once I upgraded to the Dev Center 1.5, it worked like a charm with SSH Local port forwarding enabled.
These are the following settings
Listen Address : internal ip address (not the localhost),
rpc_address: internal ip address (same as above)
Steps After setting the above steps
On my terminal enabled local port forwarding
ssh -L 9042::9042 @
Start Dev Center 1.5
It worked like a charm
It's worked finally :
steps :
1. set listen_address to private IP of EC2 instance.
2. do not set any broadcast_address
3. set rpc_address to 0.0.0.0
4. set broadcast_rpc_address to public ip of EC2 instance.