当我用Auth0连接heroku postgres数据库时,我得到了下面的错误。could not connect to postgres db { [error: no pg_hba.conf entry for host "XXXXXXXX", user "XXXXXX", database496',[error] 28000 - undefined
我使用的是Auth0,所以
我在ubuntu14.04上创建了一个postgreSQL服务器,我可以通过设置主机名为127.0.0.1(本地主机),甚至192.168.1.42 (我的内网ip),从同一台计算机连接到它,没有问题。但我无法从任何其他计算机连接到我的服务器,即使它们是否在本地网络上也是如此。我总是收到这样的信息:
"Connection to <hostname>:5432 refused.我已经将listen_addresses设置为'*',已经将pg_hba.conf编辑为接受0.0.0.0/0 I