pgsql 远程登录


添加 data/pg_hba.conf


host    all             all             0.0.0.0/0               md5


将上面的配置添加到pg_hba.conf 底部


修改data/postgresql.conf


修改 listen_addresses 为 *