RE: connection error

From: "Ahmed, Nawaz" <Nawaz(at)fast(dot)au(dot)fujitsu(dot)com>
To: Sonam Sharma <sonams1209(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: RE: connection error
Date: 2018-09-10 04:19:37
Message-ID: BAAE097528E6CB4FB2BE65AEFA6EEE0493ADFFB7@SYD1217
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


Are you sure it is /23 and not /32 for the CIDR notation ?

host all all<> trust
host all all<> trust
host all all<> trust
host all all<> trust

Best Regards,

Nawaz Ahmed
Software Development Engineer

Fujitsu Australia Software Technology Pty Ltd
14 Rodborough Road, Frenchs Forest NSW 2086, Australia
T +61 2 9452 9027


From: Sonam Sharma [mailto:sonams1209(at)gmail(dot)com]
Sent: Friday, 7 September 2018 8:38 PM
To: pgsql-general(at)postgresql(dot)org
Subject: connection error

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.

In pg_hba.conf also:

# IPv4 local connections:
host all all<> trust
host all all<> trust
host all all<> trust
host all all<> trust

Can someone please help what can be done to resolve this.


The information in this e-mail is confidential and may contain content that is subject to copyright and/or is commercial-in-confidence and is intended only for the use of the above named addressee. If you are not the intended recipient, you are hereby notified that dissemination, copying or use of the information is strictly prohibited. If you have received this e-mail in error, please telephone Fujitsu Australia Software Technology Pty Ltd on + 61 2 9452 9000 or by reply e-mail to the sender and delete the document and all copies thereof.

Whereas Fujitsu Australia Software Technology Pty Ltd would not knowingly transmit a virus within an email communication, it is the receiver’s responsibility to scan all communication and any files attached for computer viruses and other defects. Fujitsu Australia Software Technology Pty Ltd does not accept liability for any loss or damage (whether direct, indirect, consequential or economic) however caused, and whether by negligence or otherwise, which may result directly or indirectly from this communication or any files attached.

If you do not wish to receive commercial and/or marketing email messages from Fujitsu Australia Software Technology Pty Ltd, please email unsubscribe(at)fast(dot)au(dot)fujitsu(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Paquier 2018-09-10 06:50:54 Re: how to know current xlog location on standby after primary is down
Previous Message Kim Rose Carlsen 2018-09-09 21:05:30 Conflict between recovery thread and client queries on a hot standby replica