I started to write my random notes on a dedicated site at TinyWP.com . I also run TinyWP.in to write about WordPress performance. So, I am unlikely to maintain this domain going forward. But, I will keep this as long as I can, as it helps myself to refer some of my old notes from time to time.
I might come back here and write something that doesn’t fit any of the other domains! Until, then, bye for now!
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
# allow processes to bind to the non-local address # (necessary for apache/nginx in Amazon EC2) net.ipv4.ip_nonlocal_bind = 1
and then reload your sysctl.conf by:
$ sysctl -p /etc/sysctl.conf
which will be fine on reboots.