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

Поиск
Список
Период
Сортировка
От Alexander Farber
Тема Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Дата
Msg-id CAADeyWjifzhvmy+b35uEV-UV_k3vOebvhpkZWr8kVooJOSsLYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20  (Torsten Krah <krah.tm@gmail.com>)
Список pgsql-general
Thank you Torsten,

On Mon, Dec 2, 2024 at 12:32 PM Torsten Krah <krah.tm@gmail.com> wrote:
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


I will try that option too!
 

В списке pgsql-general по дате отправления: