Yes, it should work with "*". In fact there are the next lines in code:

    static int create_inet_domain_socket(const char *hostname, const int
port)
    {
        /* .... */
        if (strcmp(hostname, "*")==0)
        {
            addr.sin_addr.s_addr = htonl(INADDR_ANY);
        }
        /* .... */
       status = bind(fd, (struct sockaddr *)&addr, len);
        /* .... */

What I don't see is how to bind many addresses to one socket...

2009/8/31 Jaume Sabater <[email protected]>

> On Mon, Aug 31, 2009 at 12:58 PM, Jaume Sabater<[email protected]> wrote:
>
> > I am trying to use '*' as well, but pgpool-II does not want to start
> > that way (although no one else is listening on port 9999 in that
> > machine, and -d does not say anything useful).
>
> My fault. A developer had a custom process listening in one of the IP
> addresses of the machine in port 9999.
>
> Still, any chances to get pgpool-II to listen on two or more specific
> IP addresses?
>
> --
> Jaume Sabater
> http://linuxsilo.net/
>
> "Ubi sapientas ibi libertas"
> _______________________________________________
> Pgpool-general mailing list
> [email protected]
> http://pgfoundry.org/mailman/listinfo/pgpool-general
>
_______________________________________________
Pgpool-general mailing list
[email protected]
http://pgfoundry.org/mailman/listinfo/pgpool-general

Reply via email to