WARNING server login failed: FATAL no pg_hba.conf entry for host “”, user “postgres”, database “postgres”, SSL off

I have an application that uses Postgres as the database to store application-related data. During my initial setup, I have found the above error in the application while connecting the database. From the above error, we can clearly understand that Postgres is not accepting any connection from 10.244.1.94 IP address. As you know Postgres has host-based access control which accepts the database connection from the listed host. In order to solve this error, we need to add an entry in the pg_hba.conf ( which is the host-based access control file…

Read More