Enabling access for network/remote users

first edit postgresql.conf

listen_addresses = '*'
#listen_addresses = 'localhost'         # what IP address(es) to listen on;
 
and edit pg_hba.conf
#host    replication     postgresql        ::1/128                 trust
host    all         all         10.3.3.56/24        trust
 

猜你喜欢

转载自woodyxu.iteye.com/blog/1567995
今日推荐