Andres-
The challenge we have in openshift is that we have multiple users on a single node who all want to bind to the same
port. To deal with this, we forbid the users from binding to 127.0.0.1 using selinux and allocate IPs for them to bind
to.
Does that make sense?
Thanks,
Paul
----- Original Message -----
> From: "Andres Freund" <andres@2ndquadrant.com>
> To: "Paul Morie" <pmorie@redhat.com>
> Cc: pgsql-bugs@postgresql.org
> Sent: Monday, January 27, 2014 7:12:21 PM
> Subject: Re: [BUGS] BUG #9003: Hard-coding to localhost in postmaster
>
> Hi,
>
> On 2014-01-27 19:06:21 -0500, Paul Morie wrote:
> > The specific use-case I'm trying to address is within OpenShift
> > (www.openshift.com), where users cannot bind to localhost of
> > 127.0.0.1. In this case, the user needs to be able to bind to another
> > interface.
>
> That's an odd restriction to make. You're running out of ports on
> 127.0.0.1?
>
> Greetings,
>
> Andres Freund
>
> --
> Andres Freund http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>