locate pg_hba.conf
and then add the following line to pg_hba.conf
host all all 0.0.0.0/0 md5.After this, open postgresql.conf file and change the line
#listen_addresses='localhost'with
listen_addresses='*'.Finally, just restart postgresql service with
sudo service postgresql restart.Enjoy!
Hiç yorum yok:
Yorum Gönder