Unable to connect postgreSQL 8.4 with java application.

From: Neha Mehta <Neha(dot)Mehta(at)lntinfotech(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Unable to connect postgreSQL 8.4 with java application.
Date: 2010-02-08 06:21:37
Message-ID: 38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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...

Could you please help to to find out the missing step.
Also, if there are any more instructions to be followed...

Is it necessary to use postgreSQL with SSL if my java application uses SSL??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Regards,
Neha Mehta

________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2010-02-08 16:41:04 Re: Unable to connect postgreSQL 8.4 with java application.
Previous Message Adel Chepkunov 2010-02-03 14:47:59 bad intro page for developers