I am using postgresql 9.6 and pgAdmin 4. I want to connect remote database in pgAdmin but getting this error. I have done my R&d but get two things to add in my config file.
listen_addresses = '*'
host all all 0.0.0.0/0 md5.
Done these both lines but still not working.