I did not have to change the prostgresql.conf file, but I needed to do the following based on my psql via the command line, and the pgAdmin connection did not connect to RDS with AWS.
I had RDS installed for public access. I made sure that my ACLs and security groups were wide open and still had problems, so I did the following: sudo find . -name *.conf sudo find . -name *.conf then sudo nano ./data/pg_hba.conf then added to the beginning of the directives in the file pg_hba.conf host all all 0.0.0.0/0 md5 and pgAdmin automatically launched me.
This also worked in the pg_hba.conf host all all md5 file without any IP address, and it also worked with my host all all <myip>/32 md5 IP address
As a side note, my RDS was in my VPC by default. I had an identical RDS instance in my non-default VPC with the same security settings, ACLs, and security groups for my default VPC, and I could not get it to work. I donβt know why, but what the next day.
max56 Oct 06 '16 at 19:23 2016-10-06 19:23
source share