0

I can connect to my AWS EC2 database from SSH. Now I'm trying to connect to it from pgAdmin.

I've watched YouTube videos about it and read SO posts as well, but evidently I'm still missing something, as I am still getting:

enter image description here

Here's my rule:

enter image description here

I got the endpoint I'm using from the instances tab in Amazon RDS for my database:

enter image description here

I clicked the link under Security groups, here, to select the security group to add my rule to:

enter image description here

What did I leave out/miss/get wrong? Thanks in advance to all for any advice/thoughts/info.

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
VikR
  • 4,818
  • 8
  • 51
  • 96
  • Where are you running pgAdmin -- on an Amazon EC2 instance or on your own computer? Your RDS database is configured as "Publicly accessible = No", so you cannot connect to it from the Internet unless you use port forwarding. – John Rotenstein Jun 23 '18 at 07:34
  • Additionally the only port you appear to have open in the security group is 22. PG runs on 5432 by default. – Kevin Seaman Jun 23 '18 at 13:57
  • Thanks to both for fixing this! Also, a note to others - to get the port to change to 5432, I had to select PostgreSQL as the type in the Input Rule. – VikR Jun 26 '18 at 20:56

0 Answers0