Re: port warded (iptables) postgres

From: Scott Mead <scott(at)scottrmead(dot)com>
To: zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: port warded (iptables) postgres
Date: 2010-11-17 01:05:55
Message-ID: AANLkTintuSrwtxg0H4fJgVHukmUhERH_oGD0OoKMOS53@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Make sure that listen_addresses='<someIP>' or '*'

By default, the server only listens on unix sockets.

--Scott

On Tue, Nov 16, 2010 at 6:41 PM, zhong ming wu <mr(dot)z(dot)m(dot)wu(at)gmail(dot)com> wrote:

> Hello
>
> I have successfully used iptables to direct ports for other services.
> For example I run apache on 8443 on 127.0.0.1 and
> use iptable to direct traffic to public ip on 443. Trying the same
> with postgresql does not seem to work properly.
>
> I was wondering whether anyone has successfully used iptables +
> postgres this way
>
> Thanks in advance
>
> Mr. Wu
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-11-17 01:15:49 Re: Survey on backing up unlogged tables: help us with PostgreSQL development!
Previous Message Scott Mead 2010-11-17 01:03:12 Re: Survey on backing up unlogged tables: help us with PostgreSQL development!