How to access remotely PgAdmin4?

Davi Menezes picture Davi Menezes · Oct 30, 2016 · Viewed 44k times · Source

I Try access pgAdmin4 via browser instaled in another Notebook with Linux Ubuntu 16.04 in the same network in my house, but not access. In localhost... Okenter image description here

But REMOTELY... DOES NOT ACCESS enter image description here

Answer

Murtuza Z picture Murtuza Z · Nov 15, 2016

You need to add the following config options:

DEFAULT_SERVER = '0.0.0.0'

in config_local.py (in "pgAdmin4" folder).

If you also want to change the default port then also add

DEFAULT_SERVER_PORT = 5050