Regarding connection thru web application - Mailing list pgsql-general

From Prachi Jain
Subject Regarding connection thru web application
Date
Msg-id 20021203172855.28916.qmail@webmail28.rediffmail.com
Whole thread Raw
Responses Re: Regarding connection thru web application  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hii All,

I am trying to connect the remote Postgres db from my web
Application using ODBC driver. I have configured my machine's IP
in pg_hba.conf file. But, it still not connecting.

I have made the following entries in the pg_hba.conf

host all  10.0.1.60 'subnetMask address' trust

P.S: Already there is one entry with host.

I am getting the following exception, when i m trying to connect
to the server.

java.sql.SQLException: Could not connect to the server;
Could not resolve hostname.

What are the changes i need to do, if i m connecting thru web
application. This is the first time i m interacting with Postgres,
so please don't mind if the question is silly. But, please do
respond.

thanks and regards


pgsql-general by date:

Previous
From: "Ben-Nes Michael"
Date:
Subject: Re: [HACKERS] 7.3 -> pg_atoi: zero-length string
Next
From: SZUCS Gábor
Date:
Subject: Re: 7.3 -> pg_atoi: zero-length string