Re: Connecting to Postgres from Windows

From: Indraneel Majumdar <indraneel(at)www(dot)cdfd(dot)org(dot)in>
To: Umashankar Kotturu <adityauma(at)hotmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Connecting to Postgres from Windows
Date: 2000-11-03 23:58:26
Message-ID: Pine.SGI.3.96.1001103155657.883778A-100000@www.cdfd.org.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)123india(dot)com #
# Bioinformatics Unit (EMBNET node), ¡ URL: http://scorpius.iwarp.com #
# Centre for DNA Fingerprinting and Diagnostics, #
# Hyderabad, India - 500076 #
`************************************************************************/

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message tjk@tksoft.com 2000-11-04 15:30:24 Meaning of "REMINDER from pgsql..."
Previous Message Schlobohm, Jack 2000-11-03 21:45:07 RE: [SQL] really need help