Fix “No pg_hba.conf Entry for Host” in Postgres
"No pg_hba.conf Entry for Host": What the Error Actually Means and How to Fix It If Postgres just handed you FATAL: no pg_hba.conf entry for host "10.0.2.15", user "app", database "orders", SSL off, here's the short version: your connection reached the server, but no line in pg_hba.conf matched the client address, database, user, and encryption …