Re: Unable to connect postgreSQL 8.4 with java application. - Mailing list pgsql-jdbc

From dmp
Subject Re: Unable to connect postgreSQL 8.4 with java application.
Date
Msg-id 4B703EA0.4010608@ttc-cmc.net
Whole thread Raw
In response to Unable to connect postgreSQL 8.4 with java application.  (Neha Mehta <Neha.Mehta@lntinfotech.com>)
List pgsql-jdbc
>  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


pgsql-jdbc by date:

Previous
From: Neha Mehta
Date:
Subject: Unable to connect postgreSQL 8.4 with java application.
Next
From: "Jeenicke, Martti"
Date:
Subject: Strange behavior after setting timestamp field to null - A bug?