On 04/01/2012 12:48, Milan Bulatović wrote:
> Hello Raymond.
>
> On my computer parameters are:
>
> Ip address 192.168.1.24
> Subnet mask 255.255.255.0
> Default Gateway 192.168.1.1
>
> Preferred DNS server 195.29.150.3
> Alternate DNS server 195.29.150.4 .
>
>
> In file pg_hba.conf (attached) I put
>
> host all all 192.168.1.0/24 md5.
>
> I attached print screen with message about error.
Milan, *PLEASE* keep your replies on the list. That way others can help
you also, and the thread will be kept in the archives also.
That pg_hba.conf entry looks correct to me. However, in pgAdmin, you
just put the IP address or FQDN of the host with the database server -
so if the database is on 192.168.1.24, then enter just that (and nothing
else) in the "host" field. If pgAdmin is on the same machine as the
database server, then you can also enter 127.0.0.1 or "localhost"
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie