PostgreSQL客户端无法访问数据库问题

解决方案:
修改pg_hba.conf,增加需要访问的客户端IP,具体示例如下:
路径:D:\Program Files\PostgreSQL\9.2\data
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
host    all             all             200.200.203.0/24        md5
host    all             all             200.200.202.0/24        md5
host    all             all             172.16.101.0/24         md5
host    all             all             172.16.201.0/24         md5
host    all             all             172.16.14.0/24         md5
host    all             all             172.16.206.0/24         md5

你可能感兴趣的:(数据库相关)