From: Indraneel Majumdar <indraneel@www.cdfd.org.in>
To: Umashankar Kotturu <adityauma@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Connecting to Postgres from Windows
Date: Fri, 3 Nov 2000 15:58:26 -0800 (PST)
Message-ID: <Pine.SGI.3.96.1001103155657.883778A-100000@www.cdfd.org.in> (raw)
In-Reply-To: <F216iSnRMWuLn5U9T3T000089f7@hotmail.com>
check your pg_hba.conf file for correct permissions. you need to have host
based authenticationenabled for the network/hosts from where you are
trying to connect.
HTH
\Indraneel
On Fri, 3 Nov 2000, Umashankar Kotturu wrote:
> Hi
>
> I am connecting to postgres in a java program running on windows 98.
>
> a) I am running the postgres on linux with -i option
> b) I am using the url as "jdbc:postgresql://<ip-address>:5432/testdb"
>
> The program is unable to resolve the url? The same thing happens when
> executing the java code on the linux machine (same as that running
> postgres). However if I put 127.0.0.1 (or localhost) instead of
> <ip-address>, it resolves and works fine.
>
> Any suggestions on what could be the problem ?
>
> Regards
> Uma.
>
/************************************************************************.
# Indraneel Majumdar ¡ E-mail: indraneel@123india.com #
# Bioinformatics Unit (EMBNET node), ¡ URL: http://scorpius.iwarp.com #
# Centre for DNA Fingerprinting and Diagnostics, #
# Hyderabad, India - 500076 #
`************************************************************************/
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-sql@postgresql.org
Cc: indraneel@www.cdfd.org.in, adityauma@hotmail.com
Subject: Re: Connecting to Postgres from Windows
In-Reply-To: <Pine.SGI.3.96.1001103155657.883778A-100000@www.cdfd.org.in>
References: <F216iSnRMWuLn5U9T3T000089f7@hotmail.com> <Pine.SGI.3.96.1001103155657.883778A-100000@www.cdfd.org.in>
* 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