Tags


1). $sudo vim /etc/postgresql/9.3/main/pg_hba.conf

Edit the below line in pg_hba.conf
# IPv4 local connections:

host  all all 127.0.0.1/32 md5
to
host  all all all  md5

2). sudo vim/etc/postgresql/9.3/main/postgresql.conf

# - Connection Settings -

listen_addresses = '*'

# /etc/init.d/postgresql restart

 

Advertisements