I installed the latest version of PgAdmin4 and when I opened it, it started as a separate desktop application rather than opening in my default web browser. I want to open the PostgreSQL in my web browser. How do I do that?
Steps I tried and failed are:
localhost:5432 on browser Am I doing the right steps?

If you're using the desktop version of pgAdmin 4 greater than version 5, you can check the PGADMIN_INT_KEY variable in your runtime and use it to "authenticate" when you open it in a webbrowser
The steps would go:
File > Runtime > View logPGADMIN_INT_KEYPGADMIN_INT_PORT; default is 5050 in v8.localhost:<PGADMIN_INT_PORT>/?key=<PGADMIN_INIT_KEY>End result would look like:
127.0.0.1:5050/?key=f8ac101a-c1da-46b3-84f6-76e7f9375be3
You can bookmark that address in your browser for however many windows you'd want to use, but that will only work on each time that you start the pgAdmin session.
Or potentially, you'd have to set it to run on server mode, but I wouldn't know the details of how to get that to work.
Open your desktop pgAdmin4, then do the following steps:
File > Runtime > View LogApplication Server URL: http://127.0.0.1:{PORT_NUMBER}/?key={YOUR_KEY}If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With