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 1tHrFQ-00AJvK-OX for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 21:12:56 +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 1tHrFO-00AqnG-6n for pgsql-general@arkaria.postgresql.org; Sun, 01 Dec 2024 21:12:55 +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 1tHrFN-00Aqn7-Rp for pgsql-general@lists.postgresql.org; Sun, 01 Dec 2024 21:12:55 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tHrFM-000XpR-4s for pgsql-general@postgresql.org; Sun, 01 Dec 2024 21:12:54 +0000 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 5BBE81140259; Sun, 1 Dec 2024 16:12:51 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sun, 01 Dec 2024 16:12:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733087571; x=1733173971; bh=+wTuGIceq7m3gGnv3xOuyVu6ctUcEyHovu28c/txUjI=; b= Rii42lGoTwWf0xlGoq4NUGydSFkcD7N2NLW6fB4ABHFVZPz1s5rGE2WprGxhKpWY QFup3YMc8Q3/qEc/sordKANsCH685y7XxX+VvyCnVJE0BtYrdMNJA1foFVXqhjTR nlKbKk5MMFkOlPpraq+0kZ7k51SG3kJSA27ofdQuzjaufCp2c5O09WsN+FYG8Wli UY+ABCNtWOmWLaMIpj6xl7LrHXGpfLKh6xUDr3STIkBvYwvdKE/NToLVqiOx9Yzn TSUF+D4MGTQa0EG+3NQKBW1mnbXZ0PkNf6l6xSM77/ordxVuySDQZyc1E4kmv3jN 0VFvoavOoWc910fUL8OTOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1733087571; x=1733173971; bh=+ wTuGIceq7m3gGnv3xOuyVu6ctUcEyHovu28c/txUjI=; b=F27evGeBIHC3sIBWQ +i4BR+neO+xceW298lQXz+/zcYWw7kBcwMAeGZNfRC8LuNXz5nwnX7qPsNpGJzi7 DK1SKjaSaPMdYjjxeTf16OOBxa323rtNqljlZcuoNXcVB5WfO4NgR8rNem8tIRbm K0Hd94Z1c2fGo4+eOSa//VSu05ZtQhCCwsIVgbrVBeH/iTej6/4jnDt5Q9TiSKhe PULvjCwHnsRiMQu1bNc3jZTFesBdrJZl1/yQhUHL8EUuyM0OAead8sjFVEK6qkPt EjslmDxG9/NF12Gie1kLorx2mOMh9D9xibnIjK6lmU///Cf2SvdFfnoBqirskf9z VX9wg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrheejgddugeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeivdfhieehheegueeileej ieettdejhedugeefleekvdelkeehtdfgiefffeekudenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhl rghvvghrrdgtohhmpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopegrlhgvgigrnhguvghrrdhfrghrsggvrhesghhmrghilhdrtghomhdprhgt phhtthhopehpghhsqhhlqdhgvghnvghrrghlsehpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 1 Dec 2024 16:12:50 -0500 (EST) Message-ID: Date: Sun, 1 Dec 2024 13:12:50 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20 To: Alexander Farber , pgsql-general References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12/1/24 11:34, Alexander Farber wrote: > Good evening, > > I am trying to create a Dockerfile for development purposes, which > would run Jetty and PostgreSQL. The PostgreSQL related part is below: > > When I connect to the docker container via terminal, > I am able to connect with "psql words_de" command. The terminal is in the container host? If so does the host have an instance of Postgres running on it? > > But the "psql -h localhost words_de" command fails: > Best regards > Alex > -- Adrian Klaver adrian.klaver@aklaver.com