Re: PgAdmin cannot locate my server

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: PgAdmin cannot locate my server
Дата
Msg-id 567877725.428539.1681756227883@office.mailbox.org
обсуждение исходный текст
Ответ на PgAdmin cannot locate my server  (John Scalia <jayknowsunix@gmail.com>)
Список pgsql-admin
> On 17/04/2023 19:44 CEST John Scalia <jayknowsunix@gmail.com> wrote:
>
> I’ve got something really weird going on. My laptop can easily find my PLE
> production (production like environment) using a normal nslookup, but PgAdmin
> emits an error saying could not translate host name “ple.mydomain.com” host to
> address: Unknown host
>
> So where is PgAdmin looking regarding DNS entries?

I can't find message "Unknown host" in the pgAdmin source.  I'd have to check
but I assume pgAdmin delegates all connection management to psycopg.

> I would think that if the laptop can find it, that any app running on it
> should be able to do so.

How do you run pgAdmin?  From the top of my head there's the desktop version,
server version, and Docker container version.  In case of the server version
it's plausible that the server uses different DNS settings than your laptop.
Docker containers should inherit the DNS settings of the host but that can be
changed as well.

--
Erik



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

Предыдущее
От: John Scalia
Дата:
Сообщение: PgAdmin cannot locate my server
Следующее
От: Sbob
Дата:
Сообщение: PostgreSQL Logical Replication Questions