Re: pg_hba.conf is right ther, but connot connect - Mailing list pgsql-cygwin

From rfr
Subject Re: pg_hba.conf is right ther, but connot connect
Date
Msg-id 3F8FE0C0.9040407@inter-land.net
Whole thread Raw
In response to pg_hba.conf is right ther, but connot connect  ("Gerrit P. Haase" <gerrit@familiehaase.de>)
Responses Re: pg_hba.conf is right ther, but connot connect
List pgsql-cygwin
Gerrit P. Haase wrote:

>Hallo pgsql-cygwin,
>
>I have tried what is stated in the FAQ, create an entry in pg_hba.conf
>and checking the status of postmaster with pg_ctl tells me:
>/usr/bin/postmaster '-D' '/usr/share/postgresql/data' '-i'
>
>pg_hba.conf:
># TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK           METHOD
>
>local   all         all                                             trust
>host    all         all         127.0.0.1         255.255.255.255   trust
>host    all         all         192.168.5.3       255.255.255.0     trust
>
>When I try to connect from remote:
>$ psql -h 192.168.5.5 -d dbmail -U dbmail
>psql: FATAL:  No pg_hba.conf entry for host 192.168.5.3, user dbmail, database dbmail
>
>
>What else may I check or try?
>
>
>Gerrit
>
>
try to change tge IP-MASK to 255.255.255.255

But think twice before giving a trust relationship to that kind of entry ...

Regards,

Fred


pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: pg_hba.conf is right ther, but connot connect
Next
From: "Gerrit P. Haase"
Date:
Subject: Re: pg_hba.conf is right ther, but connot connect