Re: pg_hba.conf is right ther, but connot connect

Поиск
Список
Период
Сортировка
От rfr
Тема Re: pg_hba.conf is right ther, but connot connect
Дата
Msg-id 3F8FE0C0.9040407@inter-land.net
обсуждение исходный текст
Ответ на pg_hba.conf is right ther, but connot connect  ("Gerrit P. Haase" <gerrit@familiehaase.de>)
Ответы Re: pg_hba.conf is right ther, but connot connect
Список 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 по дате отправления:

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: pg_hba.conf is right ther, but connot connect
Следующее
От: "Gerrit P. Haase"
Дата:
Сообщение: Re: pg_hba.conf is right ther, but connot connect