Re: PostGreSQL remote access

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: PostGreSQL remote access
Дата
Msg-id 20030624170109.GA14225@wolff.to
обсуждение исходный текст
Ответ на Re: PostGreSQL remote access  (David Rickard <David.Rickard@GTScompanies.com>)
Список pgsql-novice
On Tue, Jun 24, 2003 at 09:59:02 -0700,
  David Rickard <David.Rickard@GTScompanies.com> wrote:
> Further information:
> These are the host lines from our pg_hba.conf file:
>
> host    all         all          127.0.0.1           255.255.255.255   trust
> host    all         all          0.0.0.0               0.0.0.0
>    trust
> host    testdb   postgres 208.179.178.94  255.255.255.0        trust

Can you try using:
host    testdb   postgres 208.179.178.0  255.255.255.0        trust

I don't know for sure, but it may be that the mask is only applied to
the connecting IP, and not the one in the config file.

If you really just want that one IP address (rather than allowing access
to all of 208.179.178.0/24), then you should use a mask of 255.255.255.255.

В списке pgsql-novice по дате отправления:

Предыдущее
От: David Rickard
Дата:
Сообщение: Re: PostGreSQL remote access
Следующее
От: Nabil Sayegh
Дата:
Сообщение: PG_FUNCTION_ARGS: typeof arg ?