When trying to start Django, the project displays an error:

django.db.utils.OperationalError: FATAL: no pg_hba.conf entry for host "193.186.9.123" user "user", database "database", SSL off

The database is located on a remote server, but the interesting fact is that at first everything worked fine, and at some point it stopped

  • See the postgresql pg_hba.conf file . It should have a rule that covers ip 193.186.9.123 - ArchDemon

0