Re: Cassandra with static IP address on EC2 instance: org.apache.thrift.transport.TTransportException

2009-12-09 Thread Sunil Khedar
Hey Simon, 9160 port is already authorized. While debugging I executed ifconfig command, but the output was not having eth1 details. eth0 Link encap:Ethernet HWaddr 11:31:3B:04:E2:13 inet addr:10.211.229.221 Bcast:10.211.229.255 Mask:255.255.255.0 inet6 addr:

Re: Cassandra with static IP address on EC2 instance: org.apache.thrift.transport.TTransportException

2009-12-09 Thread Sunil Khedar
same problem is encountered when I set listen address as public IP address. java.net.BindException: Cannot assign requested address at sun.nio.ch.Net.bind(Native Method) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119) at

Re: Cassandra with static IP address on EC2 instance: org.apache.thrift.transport.TTransportException

2009-12-09 Thread Sunil Khedar
Using Public DNS name in place of Public IP address fixed the issue. Thanks, Sunil On Wed, Dec 9, 2009 at 4:27 PM, Sunil Khedar su...@truesparrow.com wrote: same problem is encountered when I set listen address as public IP address. java.net.BindException: Cannot assign requested address

Cassandra with static IP address on EC2 instance: org.apache.thrift.transport.TTransportException

2009-12-08 Thread Sunil Khedar
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

Re: Cassandra with static IP address on EC2 instance: org.apache.thrift.transport.TTransportException

2009-12-08 Thread Simon Smith
Do you have your Amazon security policy set to allow that port? If you were accessing internally before, the internal security policy may have allowed that traffic, but the default external one doesn't (at least that is how it worked for my account). On Tue, Dec 8, 2009 at 10:09 AM, Sunil Khedar