postgres版本14,内网IP远程连接数据库,错误提示:
解决方案:
修改对应data目录下的配置文件pg_hba.conf
# IPv4 local connections:
host all all 0.0.0.0/0 scram-sha-256
postgres版本14,内网IP远程连接数据库,错误提示:
解决方案:
修改对应data目录下的配置文件pg_hba.conf
# IPv4 local connections:
host all all 0.0.0.0/0 scram-sha-256