Tuesday, September 24, 2013

Allow remote access to postgres sql

edit /etc/postgresql/9.1/main/postgresql.conf

listen_address = '*'

edit /etc/postgresql/9.1/main/pg_hba.conf

replace the config with:

host all all 0.0.0.0/0 md5

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.