Re: Problem with pg_hba.conf

From: Richard Huxton <dev(at)archonet(dot)com>
To: Sumit Rohatgi <pgsql_backing(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with pg_hba.conf
Date: 2005-03-01 13:47:14
Message-ID: 42247262.5000002@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sumit Rohatgi wrote:
> In the pg_hba.conf file, I have the following entry:
>
> host db1 client1 192.168.150.234/32 md5
>
> Now the problem is:
> The client having IP 192.168.150.234 is trying to
> use phpPgAdmin, but is unable to connect.
>
> The corresponding config.inc.php has this entry:
> $conf['servers'][0]['desc'] = 'PostgreSQL';
> $conf['servers'][0]['host'] = '192.168.150.234';

You're trying to connect from/to the same IP address. Might it be using
the loopack (127.0.0.1) instead?

Try adding a definition for 127.0.0.1 and see how that goes.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ioannis Theoharis 2005-03-01 13:52:58 Index size
Previous Message Marco Colombo 2005-03-01 13:28:23 Re: Clay Shirky observation regarding MySQL