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:
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
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
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
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