Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cqg96-00006B-Vp for pgsql-admin@arkaria.postgresql.org; Wed, 22 Mar 2017 13:17:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cqg96-0002s5-IO for pgsql-admin@arkaria.postgresql.org; Wed, 22 Mar 2017 13:17:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqg7H-0005gN-3F for pgsql-admin@postgresql.org; Wed, 22 Mar 2017 13:15:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cqg7D-0008SB-MT for pgsql-admin@postgresql.org; Wed, 22 Mar 2017 13:15:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v2MDFn7r022548; Wed, 22 Mar 2017 09:15:50 -0400 From: Tom Lane To: Santiago DIEZ cc: PostgreSQL LIST Subject: Re: In-reply-to: References: <864.1490153021@sss.pgh.pa.us> Comments: In-reply-to Santiago DIEZ message dated "Wed, 22 Mar 2017 09:53:26 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22546.1490188549.1@sss.pgh.pa.us> Date: Wed, 22 Mar 2017 09:15:49 -0400 Message-ID: <22547.1490188549@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Santiago DIEZ writes: > Actually, port 5421 is open for localhost but not on eth0. What puzzles me > is why psql is resolving localhost to 192.168.1.103 when nc is rightfully > resolving it to 127.0.0.1: Maybe the chroot's /etc/hosts file says so? regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin