Skip site navigation (1) Skip section navigation (2)

Re: Problem getting a connection with Postgres 8.0.3

From: Nelson Arape <narape(at)ica(dot)luz(dot)ve>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem getting a connection with Postgres 8.0.3
Date: 2005-09-29 00:59:42
Message-ID: 200509282059.43002.narape@ica.luz.ve (view raw or flat)
Thread:
Lists: pgsql-jdbc
El Mié 28 Sep 2005 18:25, Kris Jurka escribió:
> On Wed, 28 Sep 2005, Pedro Mendes wrote:
> > Message: Connection refused. Check that the hostname and port are correct
> > and that the postmaster is accepting TCP/IP connections.
>
> This is a tcpip error message, caused by the server not listening on the
> desired port.  What have you set listen_addresses in postgresql.conf?
> Probably only localhost.  Try adding the server's external address or * to
> listen on all available addresses.
>
> Kris Jurka

Also make sure that you run postmaster with the -i parameter, so postgres 
server can accept TCPIP connections

Nelson Arape

>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org

In response to

pgsql-jdbc by date

Next:From: Marc HerbertDate: 2005-09-29 09:57:59
Subject: setObject(col, blob) throws PSQLException
Previous:From: Kris JurkaDate: 2005-09-28 22:25:38
Subject: Re: Problem getting a connection with Postgres 8.0.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group