Re: PgAdmin cannot locate my server

From: John Scalia <jayknowsunix(at)gmail(dot)com>
To: "Wetmore, Matthew (CTR)" <Matthew(dot)Wetmore(at)express-scripts(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: PgAdmin cannot locate my server
Date: 2023-04-20 01:01:19
Message-ID: 75888106-1D93-4E7D-BC84-F490A3F92F52@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

You are correct this problem was from windows and PgAdmin 4v6. At least that’s what my company calls it. The database was an AWS RDS version 12.4.

The eventual fix was even stranger. As an experiment I ran nslookup against the db. Then I reconfigured PgAdmin to connect using the db’s IP address. That all went quite well and I connected with the db. For grins, I reconfigured PgAdmin back to the db’s FQDN, and had it try a reconnection. Strangely enough it did connect and there were no issues., but the only change here was the fact that I first connected using the IP adress.

Sent from my iPad

> On Apr 19, 2023, at 6:04 PM, Wetmore, Matthew (CTR) <Matthew(dot)Wetmore(at)express-scripts(dot)com> wrote:
>
> I'm assuming this is windows.
> I ran into this when PGAdmin is fine with qualified DNS hostname, but the pg_pass file couldn't resolve and needed dotted quad.
>
> The corporate-world structure of windows networking and permissions is a mystery to me...
>
> Just use the dotted quad and move along! lol
>
> From cmd:
>
> nslookup < ple.mydomain.com >
>
> pg_pass.conf
> <IP.IP.IP.IP>:<port>:<db>:<User>:<PASSWORD>
>
>
> -----Original Message-----
> From: John Scalia <jayknowsunix(at)gmail(dot)com>
> Sent: Monday, April 17, 2023 12:45 PM
> To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
> Subject: [EXTERNAL] PgAdmin cannot locate my server
>
> 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 would think that if the laptop can find it, that any app running on it should be able to do so.
> —
> Jay
>
> Sent from my iPad6
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mahesh mana 2023-04-20 10:14:22 Unable to upgrade from 12.7 to 15.2
Previous Message Rui DeSousa 2023-04-20 00:48:26 Re: pg_cancel_backend and pg_terminate_backend