Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHrCH-00AJWG-DK for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 21:09:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tHrCE-00Amf2-Rt for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 21:09:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHrCE-00Amdf-GC for pgsql-general@lists.postgresql.org; Sun, 01 Dec 2024 21:09:39 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHrCC-000Xna-PD for pgsql-general@postgresql.org; Sun, 01 Dec 2024 21:09:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4B1L9Zut1470046; Sun, 1 Dec 2024 16:09:35 -0500 From: Tom Lane To: Alexander Farber cc: pgsql-general Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20 In-reply-to: References: <1454490.1733083127@sss.pgh.pa.us> Comments: In-reply-to Alexander Farber message dated "Sun, 01 Dec 2024 21:36:28 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1470044.1733087375.1@sss.pgh.pa.us> Date: Sun, 01 Dec 2024 16:09:35 -0500 Message-ID: <1470045.1733087375@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Farber writes: > it is empty in my docker container (but "localhost" on my prod server), > so I probably need to investigate that... I'm betting the postgresql.conf entry is being overridden with a postmaster command-line switch (not an initdb switch, which merely sets up a postgresql.conf entry). regards, tom lane