1.pg_hba.conf
+ host all all 0.0.0.0/0 password
file path:
/etc/postgresql/9.4/main/pg_hba.conf
2.postgresql.conf
Remove the mark
#listen_addresses = '*'
#post = 5432
file path:
/etc/postgresql/9.4/main/postgresql.conf
Tyep Command Line:
service postgresql restart
沒有留言:
張貼留言