无法连接到服务器pgAdmin

时间:2017-03-30 14:40:39

标签: postgresql postgresql-9.4 pgadmin

我在我的Ubuntu虚拟机上安装了PostgreSQL(ip:192.168.195.95)。现在,我正在尝试使用pgAdmin(ip​​:192.168.195.1)从我的物理机Windows访问数据库。

我知道我必须在postgresql.confpg_hba.conf进行更改以允许客户端进行连接,所以我添加了这个:

listen_addresses = '*'
<{1>}和

中的

/etc/postgresql/9.4/main/postgresql.conf

host all all 192.168.195.95/24 md5 中,我重新启动了PostgreSQL。

错误信息:

/etc/postgresql/9.4/main/pg_hba.conf

你能指导我吗?

0 个答案:

没有答案
相关问题