PostgreSQL:与pg_hba.conf错误
我正试图用Django连接到我在远程机器上设置的PostgreSQL数据库。 我得到以下错误: django.db.utils.OperationalError: FATAL: no pg_hba.conf entry for host "::1", user "user1", database "ttio", SSL off 这是我的pg_hba.conf文件: local samerole all md5 host samerole all 127.0.0.200 255.255.255.255 pam pamservice=postgresql_cpses host samerole all 127.0.0.1 255.255.255.255 md5 local all postgres md5 host all postgres 127.0.0.1 255.255.255.255 md5 我正在运行数据库(Postgres 8.4),我的操作系统的风格是Centos。在我的Ubuntu 15.04本地机器,它的工作原理是完美的。 任何解决scheme?