Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20 - Mailing list pgsql-general

From Peter Kleiner
Subject Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Date
Msg-id CAP8Hi7K4_62WCo4W852je7p8Vv+v2-dduJxSJCvtg27j1=jtvA@mail.gmail.com
Whole thread Raw
In response to Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20  (Alexander Farber <alexander.farber@gmail.com>)
Responses Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
List pgsql-general
Seems too easy but have you tried

psql -p 6432 -h localhost words_de
?

On Sun, Dec 1, 2024 at 3:59 PM Alexander Farber <alexander.farber@gmail.com> wrote:
My problem is related to https://github.com/docker-library/postgres/pull/440/files

But I am yet not sure how to enable listening at localhost again

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Errors when restoring backup created by pg_dumpall
Next
From: Alexander Farber
Date:
Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20