pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: ssl database connection problems...
Date: Mon, 29 Dec 2008 22:13:12 -0500
Message-ID: <7716.1230606792@sss.pgh.pa.us> (raw)
In-Reply-To: <dcc563d10812291350w51764ca5p76dad8628a5127c@mail.gmail.com>
References: <752F2E74-9F28-4E3D-869C-93357751AFA0@indiana.edu>
	<dcc563d10812291350w51764ca5p76dad8628a5127c@mail.gmail.com>

"Scott Marlowe" <scott.marlowe@gmail.com> writes:
> On Mon, Dec 29, 2008 at 2:23 PM, Carol Walter <walterc@indiana.edu> wrote:
>> ... I can't connect to the database instance
>> from a remote host.  I get a message as follows:
>> walterc@cat:~$ psql -h db -U walterc -d walterc -p 5433
>> psql: could not connect to server: Connection refused
>> Is the server running on host "db" and accepting
>> TCP/IP connections on port 5433?

> What does listen_addresses say in postgresql.conf for this instance?

If listen_addresses is set properly, another thing to check is whether
there is a firewall blocking connections to 5433 at the kernel or
network level.

			regards, tom lane



view thread (22+ messages)  latest in thread

Message-ID: <7716.1230606792@sss.pgh.pa.us>
Permalink:  ../7716.1230606792@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7716.1230606792@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, scott.marlowe@gmail.com, walterc@indiana.edu
  Subject: Re: ssl database connection problems...
  In-Reply-To: <7716.1230606792@sss.pgh.pa.us>

* 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