public inbox for [email protected]
help / color / mirror / Atom feedFrom: ABHI PATEL (CRGL-THIRDPARTY.COM) <[email protected]>
To: [email protected] <[email protected]>
Cc: VINODH MUDIPALLI (CRGL-THIRDPARTY.COM) <[email protected]>
Cc: Chiranjeev Sahoo <[email protected]>
Cc: PRASHANTH NAIK <[email protected]>
Subject: pgAdmin 4 fails to open UI on Azure Virtual Desktop (localhost authorization issue)
Date: Mon, 22 Jun 2026 14:40:16 +0000
Message-ID: <SN6PR04MB3933FB136788ECCEE5EBA7B8BEEF2@SN6PR04MB3933.namprd04.prod.outlook.com> (raw)
Hello,
I am facing an issue running pgAdmin 4 (v9.11) on Windows in an Virtual Desktop environment.
PostgreSQL itself is installed and working (psql connects successfully).
pgAdmin starts its internal server, but the UI cannot be accessed.
Observed behavior
* pgAdmin runtime starts successfully:
* * Serving Flask app 'pgadmin'
* * Debug mode: off
* pgAdmin reports:
* The pgAdmin 4 server could not be contacted
* When accessing the local URL manually:
* http://127.0.0.1:<port>/browser/
the browser returns:
Unauthorized
The server could not verify that you are authorized to access the URL requested
Runtime details (excerpt)
Python Path: "C:\Program Files\pgAdmin 4\python\python.exe"
Webapp Path: "C:\Program Files\pgAdmin 4\web\pgAdmin4.py"
Runtime Config File: "C:\Users\a045514\AppData\Roaming\pgadmin4\config.json"
PGADMIN_INT_PORT: 52004
PGADMIN_SERVER_MODE: OFF
The pgAdmin server process is clearly running, but the browser session never initializes successfully.
This appears to be related to localhost / loopback access or session handling in Azure Virtual Desktop-style environments.
Questions
* Are there recommended configuration options (e.g. server mode, auth settings, startup flags) for such environments?
* Are there known limitations or workarounds when pgAdmin's local web server cannot be accessed normally?
Any guidance would be appreciated.
Thanks,
Abhi Patel
[cid:[email protected]][cid:[email protected]]
Attachments:
[image/png] image001.png (19.3K, ../SN6PR04MB3933FB136788ECCEE5EBA7B8BEEF2@SN6PR04MB3933.namprd04.prod.outlook.com/3-image001.png)
download | view image
[image/png] image002.png (19.3K, ../SN6PR04MB3933FB136788ECCEE5EBA7B8BEEF2@SN6PR04MB3933.namprd04.prod.outlook.com/4-image002.png)
download | view image
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: pgAdmin 4 fails to open UI on Azure Virtual Desktop (localhost authorization issue)
In-Reply-To: <SN6PR04MB3933FB136788ECCEE5EBA7B8BEEF2@SN6PR04MB3933.namprd04.prod.outlook.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox