我的一个客户正在设置服务器,安装了postgres后,当我们运行服务器时遇到下面的错误。我Google了一下,有几个解决方案可用,但都没有对我起作用,你能看看是什么情况吗?
Status: 500 Internal Server Error
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "syr_admin", database "allprosh_production", SSL off
我的pg_hba.conf文件:
local all 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
local all all trust
提前致谢。