postgres is currently configured to listen to
0.0.0.0. Binding to world (
0.0.0.0) can be dangerous in cases where the hosting machine is exposed, and in general it indicates a non-minimal security posture which can cause other unexpected exposures.
pg_hba.conf (adjust to your type of connection):
host all all 0.0.0.0/0 md5
pg_hba.conf, bind to a specific range (adjust to your type of connection):
host all all 184.108.40.206/8 trust
Or if you have a specific address, bind it explicitly.
Updated 3 months ago