Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id BF34664FEC1 for ; Mon, 29 Dec 2008 23:13:26 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 05877-02 for ; Mon, 29 Dec 2008 23:13:19 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 86EA964FDA6 for ; Mon, 29 Dec 2008 23:13:19 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id mBU3DCjF007717; Mon, 29 Dec 2008 22:13:12 -0500 (EST) To: "Scott Marlowe" cc: "Carol Walter" , pgsql-admin@postgresql.org Subject: Re: ssl database connection problems... In-reply-to: References: <752F2E74-9F28-4E3D-869C-93357751AFA0@indiana.edu> Comments: In-reply-to "Scott Marlowe" message dated "Mon, 29 Dec 2008 14:50:38 -0700" Date: Mon, 29 Dec 2008 22:13:12 -0500 Message-ID: <7716.1230606792@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/197 X-Sequence-Number: 31030 "Scott Marlowe" writes: > On Mon, Dec 29, 2008 at 2:23 PM, Carol Walter 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