Not able to connect to public postgres from EC2

62 Views Asked by At

I wanted to connect to a public postgres from my EC2 machine but not able to establish a connection. I have added a outbound rule for postgress port 543 but no luck so far.

Below is the details of the postgress i am trying to connect.

conn = psycopg2.connect(
    host="hh-pgsql-public.ebi.ac.uk",
    database="pfmegrnargs",
    user="reader",
    password="NWDMCE5xdipIjRrp")

Also attached is the outbound rule and error message for reference.

enter image description here

enter image description here

Appreciate all your help !!

0

There are 0 best solutions below