Re: pg_hba.conf issue - Mailing list pgsql-general

From Mike Mascari
Subject Re: pg_hba.conf issue
Date
Msg-id 3C99CE99.50E95D0D@mascari.com
Whole thread Raw
In response to pg_hba.conf issue  (<tsmets@brutele.be>)
List pgsql-general
tsmets@brutele.be wrote:
>
> I wanna connect froma remote host to the Database via JDBC.
> I modified the pg_hba.conf  to this :
>
> host       all        192.168.1.0    255.255.255.255    trust sameuser
>
>
> I got the following trace :

> No pg_hba.conf entry for host 192.168.1.101, user jboss

Unless my understanding is incorrect, I think the mask is wrong:

255.255.255.0

would allow a connection from 192.168.1.xxx

255.255.255.255

matches an exact host, 192.168.1.0.

Mike Mascari
mascarm@mascari.com

pgsql-general by date:

Previous
From:
Date:
Subject: pg_hba.conf issue
Next
From: Mathieu Arnold
Date:
Subject: arrays and references