Edit postgresql.conf file: ... listen_addresses = '*' Edit pg_hba.conf file: ... host all all 0.0.0.0/0 md5
listen_addresses = 'localhost'