Re: Connection Port? - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Connection Port?
Date
Msg-id Pine.BSO.4.56.0409282037220.14514@leary.csoft.net
Whole thread Raw
In response to Connection Port?  (Chris Helm <chelm@nsidc.org>)
Responses Re: Connection Port?
List pgsql-jdbc

On Tue, 28 Sep 2004, Chris Helm wrote:

> Im trying to use the pgsql-jdbc driver to establish a connection to my
> database with dbvisualer and am having trouble. I believe the problem is with
> port, ive tried 80, 8080, and 5432 (the default) but it still is not
> connecting.
>

Why do you believe it is the port number?  You haven't given us any error
message to try and convince us of that.  My best blind guess at your
problem is that you have not enabled the tcpip_socket parameter in the
postgresql.conf file.  Prior to the 8.0 release the database does not
listen on a tcpip socket by default, but instead makes itself available
over unix sockets (which Java cannot use).

Kris Jurka

pgsql-jdbc by date:

Previous
From: Chris Helm
Date:
Subject: Connection Port?
Next
From: John R Pierce
Date:
Subject: Re: Connection Port?