pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Chris Helm <chelm@nsidc.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Connection Port?
Date: Tue, 28 Sep 2004 20:42:54 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0409282037220.14514@leary.csoft.net> (raw)
In-Reply-To: <200409280931.52805.chelm@nsidc.org>
References: <200409280931.52805.chelm@nsidc.org>



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



view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0409282037220.14514@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0409282037220.14514@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0409282037220.14514@leary.csoft.net

 · 

reply

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-jdbc@postgresql.org
  Cc: books@ejurka.com, chelm@nsidc.org
  Subject: Re: Connection Port?
  In-Reply-To: <Pine.BSO.4.56.0409282037220.14514@leary.csoft.net>
  References: <200409280931.52805.chelm@nsidc.org> <Pine.BSO.4.56.0409282037220.14514@leary.csoft.net>

* 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