X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 50C019DC809 for ; Wed, 1 Feb 2006 10:32:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 58894-01 for ; Wed, 1 Feb 2006 10:32:28 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 20A6D9DC803 for ; Wed, 1 Feb 2006 10:32:21 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k11EWFq5029727; Wed, 1 Feb 2006 09:32:15 -0500 (EST) To: "Myatluk Andrey" cc: pgsql-jdbc@postgresql.org Subject: Re: Postgres-JDBC question In-reply-to: References: Comments: In-reply-to "Myatluk Andrey" message dated "Wed, 01 Feb 2006 12:01:27 +0300" Date: Wed, 01 Feb 2006 09:32:15 -0500 Message-ID: <29726.1138804335@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.102 required=5 tests=[AWL=0.102] X-Spam-Score: 0.102 X-Spam-Level: X-Archive-Number: 200602/5 X-Sequence-Number: 14602 "Myatluk Andrey" writes: > On my host if I run netstat I see the following: > tcp 0 0 0.0.0.0:5432 0.0.0.0:* > LISTEN 5557/postmaster > tcp 0 0 :::5432 :::* > LISTEN 5557/postmaster > Do those mean that my database must be accessible from the outside? I > have access from localhost processes, but my attempts to connect to the > database with pgAdmin failed. Failed how, exactly? The netstat output shows that the postmaster is listening for connections from anyplace, so you have listen_addresses set properly ... but there are at least two other levels where an attempted connection might be blocked: kernel packet filtering, or the contents of pg_hba.conf. What error message are you getting *exactly*? regards, tom lane