How to set IP address of Amazon EC2 instance to its Elastic IP?
Posted
by
TWord
on Server Fault
See other posts from Server Fault
or by TWord
Published on 2010-08-04T06:04:39Z
Indexed on
2011/01/05
18:56 UTC
Read the original article
Hit count: 268
Hi,
I have an Amazon EC2 instance running and I am installing a program on it that needs to know what the machine's IP address is. Can I set the Elastic IP address to the IP address within the EC2 instance?
Its okay if it reroutes data packets somewhere 'outside' and then back to itself, but the software NEEDs me to specify an IP address of the machine its on.
I proceeded with the software installation using the "local IP" (10.xx.xx.xx) within the software installation. I don't know if this is the reason why the application is not visible publicly (as I'm trying to determine in the question http://serverfault.com/questions/166946/allowing-web-access-to-an-amazon-ec2-windows-server-2008-instance-running-tomcat)
© Server Fault or respective owner