From: dmp <danap@ttc-cmc.net>
To: Neha Mehta <Neha.Mehta@lntinfotech.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Unable to connect postgreSQL 8.4 with java application.
Date: Mon, 08 Feb 2010 09:41:04 -0700
Message-ID: <4B703EA0.4010608@ttc-cmc.net> (raw)
In-Reply-To: <38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com>
References: <38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com>
> Hi,
>
> I am a newbie to postgreSQL. I am trying to connect my java
> application(using jdbc) with postgreSQL 8.4 , but I am getting the
> following error :
>
> FATAL: no pg_hba.conf entry for host "172.17.88.52", user "postgres",
> database "ofbiz-test", SSL off
>
> I tried adding the host name in pg_hba.conf file as :
>
> host all all 172.17.88.52 255.255.255.255 trust
>
> but when I restart the server, I get an error…
Looks like the address must be CIDR-Address, did you try:
host all all 172.17.88.52/32 trust
> Is it necessary to use postgreSQL with SSL if my java application uses
> SSL??
Someone else here should be able to answer this.
danap
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-jdbc@postgresql.org
Cc: danap@ttc-cmc.net, Neha.Mehta@lntinfotech.com
Subject: Re: Unable to connect postgreSQL 8.4 with java application.
In-Reply-To: <4B703EA0.4010608@ttc-cmc.net>
References: <38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com> <4B703EA0.4010608@ttc-cmc.net>
* 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