From: Ahmed, Nawaz <Nawaz@fast.au.fujitsu.com>
To: Sonam Sharma <sonams1209@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: connection error
Date: Mon, 10 Sep 2018 04:19:37 +0000
Message-ID: <BAAE097528E6CB4FB2BE65AEFA6EEE0493ADFFB7@SYD1217> (raw)
In-Reply-To: <CAM-M3TmTJhyoMLoZLZGy42RL3U9=yPB9LMp4AN=iFYuCLSdAeA@mail.gmail.com>
References: <CAM-M3TmTJhyoMLoZLZGy42RL3U9=yPB9LMp4AN=iFYuCLSdAeA@mail.gmail.com>
Hi,
Are you sure it is /23 and not /32 for the CIDR notation ?
host all all 127.0.0.1/32<http://127.0.0.1/32; trust
host all all 127.0.0.1/23<http://127.0.0.1/23; trust
host all all 172.29.161.53/23<http://172.29.161.53/23; trust
host all all 172.29.161.52/23<http://172.29.161.52/23; 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
Nawaz@fast.au.fujitsu.com<mailto:Nawaz@fast.au.fujitsu.com>
fastware.com.au<http://fastware.com.au/;
[cid:image001.jpg@01D44911.4DB77F50]
[cid:image002.jpg@01D44911.4DB77F50]
From: Sonam Sharma [mailto:sonams1209@gmail.com]
Sent: Friday, 7 September 2018 8:38 PM
To: pgsql-general@postgresql.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@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<http://127.0.0.1/32; trust
host all all 127.0.0.1/23<http://127.0.0.1/23; trust
host all all 172.29.161.53/23<http://172.29.161.53/23; trust
host all all 172.29.161.52/23<http://172.29.161.52/23; trust
Can someone please help what can be done to resolve this.
Thanks,
Sonam
Disclaimer
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@fast.au.fujitsu.com
Attachments:image001.jpg (image/jpeg, 7.7K) downloadview imageimage002.jpg (image/jpeg, 3.8K) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Nawaz@fast.au.fujitsu.com, sonams1209@gmail.com
Subject: Re: connection error
In-Reply-To: <BAAE097528E6CB4FB2BE65AEFA6EEE0493ADFFB7@SYD1217>
References: <CAM-M3TmTJhyoMLoZLZGy42RL3U9=yPB9LMp4AN=iFYuCLSdAeA@mail.gmail.com> <BAAE097528E6CB4FB2BE65AEFA6EEE0493ADFFB7@SYD1217>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox