From: | Sonam Sharma <sonams1209(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | connection error |
Date: | 2018-09-07 10:37:41 |
Message-ID: | CAM-M3TmTJhyoMLoZLZGy42RL3U9=yPB9LMp4AN=iFYuCLSdAeA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
getting below error from application side :
========
Last acquisition attempt exception:
org.postgresql.util.PSQLException: Connection refused. Check that the
hostname and port are correct and that the postmaster is accepting TCP/IP
connections.
the port no is set correct :
[postgres(at)lxsqlptgsdev004 data]$ psql -h localhost -p 5432
psql (9.5.14)
Type "help" for help.
postgres=#
In pg_hba.conf also:
# IPv4 local connections:
host all all 127.0.0.1/32 trust
host all all 127.0.0.1/23 trust
host all all 172.29.161.53/23 trust
host all all 172.29.161.52/23 trust
Can someone please help what can be done to resolve this.
Thanks,
Sonam
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2018-09-07 10:58:24 | Re: A Timeseries Case Study: InfluxDB VS PostgreSQL |
Previous Message | Fabio Pardi | 2018-09-07 10:15:47 | Re: A Timeseries Case Study: InfluxDB VS PostgreSQL |