I tried to connect Amazon Redshift to my local computer using pycopg2. However, I got an error message:
psycopg2.OperationalError: could not connect to server: Operation timed out. Is the server running on host xxx and accepting TCP/IP connecitons on posrt 5439
I have done two guides with searching google:
0.0.0.0/0
and ::/0 to VPC route as gateway.It still doesn't work. Please let me know if you know what the problem is.
Things to check:
0.0.0.0/0
to the Internet Gateway)ping
the DNS Name, does it resolve to an IP address?)