Navicat使用本机IP连接本地PostgreSQL数据库报错 解决方法: 找到PostgreSQL数据库的postgresql.conf,修改 listen_addresses = '*' 修改pg_hba.conf 在原来的host下面新加一行 # IPv4 local connections: host all all 127.0.0.1/32 trust host all all 0.0.0.0/0 password 重启PostgreSQL服务