Hi All,

I tried using public IP address of my EC2 instance for ThriftAddress, but getting following error:

org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address /75.101.152.226:9160.
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:99)
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:85)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:99)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:167)
Exception encountered during startup.
org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address /75.101.152.226:9160.
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:99)
        at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:85)
        at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:99)
        at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:167)

With internal IP address cassandra is working fine. Have configured it wrong?

Thanks,
Sunil