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
 

你可能感兴趣的:(PostgreSQL)