title: Connection to redis is timing out
body: <pre><code>$ redis-cli -h ec2-75-101-204-XXX.compute-1.amazonaws.com
  Could not connect to Redis at ec2-75-101-204-XXX.compute-1.amazonaws.com:6379: Operation timed out
  </code></pre>
  
  <p>That's what I get from my host machine. I set up the Security Group on that machine to be open to port 6379.</p>
  
  <p>When I run netstat on the redis server, I see that it's listening:</p>
  
  <pre><code>$ netstat -nlp
  (No info could be read for "-p": geteuid()=1000 but you should be root.)
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
  tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      -               
  tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
  tcp6       0      0 :::22                   :::*                    LISTEN      -               
  udp        0      0 0.0.0.0:68              0.0.0.0:*                           -               
  Active UNIX domain sockets (only servers)
  </code></pre>
  
  <p>My <code>redis.conf</code> looks like:</p>
  
  <pre><code>daemonize yes
  pidfile /var/run/redis.pid
  port 6379
  timeout 300
  loglevel notice
  logfile /var/log/redis.log
  databases 16
  
  save 900 1
  save 300 10
  save 60 10000
  
  stop-writes-on-bgsave-error yes
  rdbcompression yes
  </code></pre>
  
  <p>So why would I be timing out from another machine?</p>