\PostgreSQL\14\data\pg_hba.conf
# IPv4 local connections:
host all all 127.0.0.1/32 md5 这一行
host all all 0.0.0.0/0 md5 改成这样
\PostgreSQL\14\data\pg_hba.conf
# IPv4 local connections:
host all all 127.0.0.1/32 md5 这一行
host all all 0.0.0.0/0 md5 改成这样