PostgreSQL open remote connection

Introduce how to open remote connections for postgresSQL server.

Modify /usr/local/var/postgres/postgresql.conf

listen_addresses = '*'

Modify /usr/local/var/postgres/pg_hba.conf

# IPv4 local connections:
host    all             all             samenet                 password

PostgreSQL9 installed on Mac. For installation details please refer: Mac OSX下PostgreSQL安装配置

49 Words 07 November 2012 Suzhou, China