postgreSQL开启远程登陆 修改配置文件 # 注意配置文件路径取决于自己的安装路径 vim /var/lib/pgsql/data/postgresql.conf 取消 listen_addresses 的注释,将参数值改为“*” vim /var/lib/pgsql/data/pg_hba.conf 添加一条配置 启动postgreSQL 参考:https://www.cnblogs.com/zhi-leaf/p/11432054.html