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

From Torsten Krah
Subject Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Date
Msg-id ee1034d55a1b7ccb2c0890d2a1f9e8111437f20a.camel@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
Am Sonntag, dem 01.12.2024 um 21:59 +0100 schrieb Alexander Farber:
> But I am yet not sure how to enable listening at localhost again

Instead of using a TCP/IP connection, why not use the unix socket to
connect to your database [1]?

[1] https://jdbc.postgresql.org/documentation/use/#unix-sockets




pgsql-general by date:

Previous
From: Alexander Farber
Date:
Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Next
From: Alexander Farber
Date:
Subject: Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20