From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com> |
Cc: | Christian Castelli <christian(dot)castelli(at)habble(dot)it>, pgAdmin Support <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: PG Admin 4 domain |
Date: | 2017-02-16 12:06:25 |
Message-ID: | CA+OCxoxx_41UHCqF802Bh06Cajn2zS8Cf0tsr9F-m5ToMkx7og@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
On Thu, Feb 16, 2017 at 12:02 PM, Murtuza Zabuawala <
murtuza(dot)zabuawala(at)enterprisedb(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Christian Castelli | 2017-02-16 12:21:06 | Re: PG Admin 4 domain |
Previous Message | Dave Page | 2017-02-16 12:03:59 | Re: PG Admin 4 domain |