title: Postgres pgAdmin: Unable to connect to server: timeout expired
body: <p>I'm trying to connect a local Postgres server to an AWS RDS instance. When I enter in the credentials: </p>
  
  <p><a href="https://i.stack.imgur.com/j8ewr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j8ewr.png" alt="enter image description here"></a></p>
  
  <p>I keep getting an error: Unable to connect to server:  timeout expired</p>
  
  <p>I searched and it seems to be an issue with the security group. I did the following but it didn't work: <a href="https://serverfault.com/questions/656079/unable-to-connect-to-public-postgresql-rds-instance">https://serverfault.com/questions/656079/unable-to-connect-to-public-postgresql-rds-instance</a></p>