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 1F2629DC834 for ; Mon, 30 Jan 2006 05:51:51 -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 45041-05 for ; Mon, 30 Jan 2006 05:51:52 -0400 (AST) X-Greylist: delayed 00:11:53.272094 by SQLgrey- Received: from mail.mnc.ch (62-2-77-205.business.cablecom.ch [62.2.77.205]) by postgresql.org (Postfix) with ESMTP id D2CC39DC832 for ; Mon, 30 Jan 2006 05:51:47 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mail.mnc.ch (Postfix) with ESMTP id A7E10A82C7; Mon, 30 Jan 2006 10:51:48 +0100 (CET) Received: from mail.mnc.ch ([127.0.0.1]) by localhost (mail.test.lan [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 31920-02; Mon, 30 Jan 2006 10:51:47 +0100 (CET) Received: from meuh.mnc.lan (62-2-77-204.business.cablecom.ch [62.2.77.204]) by mail.mnc.ch (Postfix) with ESMTP id 5180EA82B4; Mon, 30 Jan 2006 10:51:47 +0100 (CET) Received: by meuh.mnc.lan (Postfix, from userid 1000) id 603E31835DB; Mon, 30 Jan 2006 10:51:43 +0100 (CET) To: Sean , pgsql-jdbc@postgresql.org Subject: Re: Postgres-JDBC question References: <20060127143144.55A805AF173@svr4.postgresql.org> <1138387282.28241.45.camel@archimedes> X-Hashcash: 1:20:060130:sean.conlon@4expertsolutions.com::3FV6KfkOKHGEQwAK:00000000000000000000000000000CTOj X-Hashcash: 1:20:060130:pgsql-jdbc@postgresql.org::PSOU7sNlYljVIOSc:0000000000000000000000000000000000002mIj From: Guillaume Cottenceau Date: 30 Jan 2006 10:51:43 +0100 In-Reply-To: <1138387282.28241.45.camel@archimedes> Message-ID: <873bj66o28.fsf@meuh.mnc.lan> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at mnc.ch X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200601/134 X-Sequence-Number: 14585 Mark Lewis writes: > This usually means that you have allowed TCP/IP connections in > postgresql.conf, but haven't added a rule allowing remote access in > pg_hba.conf for anything other than localhost. Sean - on Linux, you can check this with the following command: [root@meuh ~] netstat -ltpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 3310/postmaster ^^^ my postgres is listening on all addresses [...] tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3259/master ^^^ my postfix is listening on localhost only -- Guillaume Cottenceau