Search Postgresql Archives

Re: Problem with pg_hba.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux