Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C3E2D633356 for ; Mon, 8 Feb 2010 12:58:14 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 21203-06 for ; Mon, 8 Feb 2010 16:57:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outbound.vnet-inc.com (outbound.vnet-inc.com [216.146.104.103]) by mail.postgresql.org (Postfix) with ESMTP id ACA19632D4C for ; Mon, 8 Feb 2010 12:58:03 -0400 (AST) Received: from [192.168.157.32] (unknown [216.129.226.129]) by outbound.vnet-inc.com (Postfix) with ESMTP id A76895AAF; Mon, 8 Feb 2010 09:58:01 -0700 (MST) Message-ID: <4B703EA0.4010608@ttc-cmc.net> Date: Mon, 08 Feb 2010 09:41:04 -0700 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Neha Mehta , pgsql-jdbc@postgresql.org Subject: Re: Unable to connect postgreSQL 8.4 with java application. References: <38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com> In-Reply-To: <38DE460E2357D04A9369D5EB8A69E0543AC99634@VSHINMSMBX01.vshodc.lntinfotech.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.972 tagged_above=-10 required=5 tests=AWL=-0.973, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201002/9 X-Sequence-Number: 20296 > 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