Re: [pgadmin-support] PG Admin 4 domain - Mailing list pgadmin-support

From Dave Page
Subject Re: [pgadmin-support] PG Admin 4 domain
Date
Msg-id CA+OCxoxx_41UHCqF802Bh06Cajn2zS8Cf0tsr9F-m5ToMkx7og@mail.gmail.com
Whole thread Raw
In response to Re: [pgadmin-support] PG Admin 4 domain  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
Responses Re: [pgadmin-support] PG Admin 4 domain  (Christian Castelli <christian.castelli@habble.it>)
List pgadmin-support


On Thu, Feb 16, 2017 at 12:02 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
By default pgAdmin4 runs on loopback adapter, to make it run on ethernet (eth0) you need to change some of configuration options.

You need to add below config options,

DEFAULT_SERVER = '0.0.0.0'

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

Now restart pgAdmin4, Now try accessing pgAdmin4 using IP address you mentioned(eg, http://172.xxx.xxx.xx:8081)

Yeah, but *don't* do that without switching SERVER_MODE = true to ensure that authentication is enabled, otherwise you're opening pgAdmin (and any saved passwords etc) to anyone on your network.

For production use, you should use Apache or similar per the instructions I just posted.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-support by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgadmin-support] PG Admin 4 domain
Next
From: Christian Castelli
Date:
Subject: Re: [pgadmin-support] PG Admin 4 domain