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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Дата
Msg-id 1454490.1733083127@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20  (Alexander Farber <alexander.farber@gmail.com>)
Ответы Re: Connection to 127.0.0.1 refused in a Dockerfile based on postgres:17-alpine3.20
Список pgsql-general
Alexander Farber <alexander.farber@gmail.com> writes:
> TLDR "psql words_de" works, but "psql -h localhost words_de" does not

I'd try connecting the first way and seeing what "show
listen_addresses" gives.  Per your report it should be "*",
but maybe something is overriding that.

If it is "*", then it seems like something is interfering with
expanding that.  Maybe try explicitly setting it to "localhost"?

            regards, tom lane



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