Problem connecting to postmaster

From: Glenn Sullivan <glenn(dot)sullivan(at)varianinc(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Problem connecting to postmaster
Date: 2005-03-22 00:40:31
Message-ID: 423F697F.7070407@varianinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I have installed native postgresql8.0.1 on a PC running Windows XP
professional.
I am having trouble connecting to it from my application. The application
is a combination of java and C++ which was developed on Sun Solaris (Unix).
Thus on the PC, I have installed Microsoft Interix (Service For Unix) on
the PC to run the application. I don't know if this is the problem or not,
but I am thus trying to connect to the DB running native from an application
running from Interix. Does anyone know if this is inherently a problem?

My java code connects to the DB using
DriverManager.getConnection("jdbc:postgresql://gandalf:5432/mydb",
user, passwd);

I get a PSQLException with a null message when this is executed.

I start up the postmaster with -i to allow TCP/IP connections.
I set Windows Firewall to "off"

Does anyone have any experience using Interix (SFU) connecting to the DB?

Any suggestions?

Thanks,
Glenn

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dann Corbit 2005-03-22 00:50:53 Re: Problem connecting to postmaster
Previous Message Sean Davis 2005-03-22 00:05:34 Re: Time Stamp