How to Fix No pg_hba.conf Entry for Host Error
What Is pg_hba.conf?
pg_hba.conf controls client authentication rules for PostgreSQL.
Why This Error Happens
The client IP address is not allowed in the configuration file.
Fix
host all all 192.168.1.0/24 md5
After editing pg_hba.conf, reload PostgreSQL:
SELECT pg_reload_conf();