jmoncada Posted November 15, 2022 Posted November 15, 2022 Hi. I have the problem that I can't connect remotely to the postgres database. My connection parameters are: Database: jmoncada_itech User: jmoncada_django Host: codezoft.heliohost.us:5432 Then the connection responds: FATAL: no pg_hba.conf entry for host
wolstech Posted November 15, 2022 Posted November 15, 2022 (edited) If the server connecting to the database is your own website that's also hosted here, use localhost instead of your domain name for the hostname to fix this error. If you still need remote access, please let us know what IPs will be accessing the database, or we can allow from any. Edited November 15, 2022 by wolstech Realized it's probably localhost...
Recommended Posts