Connecting to Amazon AWS TimeOut Error
<p>I'm trying to connect to a Redshift instance. If I use psycopg2 to test the connection and grab a simple query, I get a:</p>

<blockquote>
  <p>psycopg2.OperationalError: could not connect to server: Operation timed ouT</p>
  
  <p>Is the server running on host "THE_HOST" (10.0.21.77) and accepting
          TCP/IP connections on port 5432?</p>
</blockquote>

<p>I have no idea how to diagnose this. My router is set to 192.168.0.1 rather than the 10.0.0.1 config. I'm not sure what I need to pass to make this happen...</p>

<p>Edits: I'm connecting through a VPN. I know the redshift cluster accepts incoming connections over this VPN. I can also connect to the cluster through pgAdminIII or SQLWorkbench</p>