修改文件 pg_hba.conf

local all all md5
host  all all 127.0.0.1/32 md5
host all all 192.168.45.0/32 md5