# TYPE DATABASE USER ADDRESS METHOD # IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust 修改为: # TYPE DATABASE USER ADDRESS METHOD # IPv4 local connections:
host all all 127.0.0.1/32 trust host all all <用来检测故障的远程主机的IP地址>/32 trust
# IPv6 local connections:
host all all ::1/128 trust |