nginx error: (99: Cannot assign requested address)

Ref: http://stackoverflow.com/a/13141104/1004587 With Amazon EC2 and elastic IPs, the server doesn't actually know its IP as with most any other server. So you need to tell your linux to allow processes to bind to the non-local address. Just add the following line into /etc/sysctl.conf file: and then reload your sysctl.conf by: which will be fine on reboots.