pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedConnecting to Postgres from Windows
2+ messages / 2 participants
[nested] [flat]
* Connecting to Postgres from Windows
@ 2000-11-03 03:50 Umashankar Kotturu <adityauma@hotmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Umashankar Kotturu @ 2000-11-03 03:50 UTC (permalink / raw)
To: pgsql-sql
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.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Connecting to Postgres from Windows
@ 2000-11-03 23:58 Indraneel Majumdar <indraneel@www.cdfd.org.in>
parent: Umashankar Kotturu <adityauma@hotmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Indraneel Majumdar @ 2000-11-03 23:58 UTC (permalink / raw)
To: Umashankar Kotturu <adityauma@hotmail.com>; +Cc: 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@123india.com #
# Bioinformatics Unit (EMBNET node), ¡ URL: http://scorpius.iwarp.com #
# Centre for DNA Fingerprinting and Diagnostics, #
# Hyderabad, India - 500076 #
`************************************************************************/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-11-03 23:58 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-11-03 03:50 Connecting to Postgres from Windows Umashankar Kotturu <adityauma@hotmail.com>
2000-11-03 23:58 ` Indraneel Majumdar <indraneel@www.cdfd.org.in>
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