Re: Problem connecting to postgres

Поиск
Список
Период
Сортировка
От Wim
Тема Re: Problem connecting to postgres
Дата
Msg-id 3DF7A4A1.40304@belbone.be
обсуждение исходный текст
Ответ на Problem connecting to postgres  ("Graham Bartlett" <gbartlett@gamet.com>)
Список pgsql-novice
Hi Graham,

Just try:

host   all       10.1.0.0        255.255.0.0  trust



Cheers!

Wim

Graham Bartlett wrote:

>After installing Postgres I tried to make a connection to the DB. I made
>sure to use the '-i' to enable JDBC connection. I'm receiving the
>following error:
>
>"No pg_hba.conf entry for host 10.1.1.79, user gpms, database gpms"
>
>I have created the gpms user and gpms database. I can connect to the
>database only when I add:
>
>host   all       10.1.1.79        255.255.255.255   trust
>
>to the pg_hba.conf file.
>
>I never had to do this before. I simply want to enable all IPs to
>connect to the database without specifying every one of those IPs in the
>pg_hba.conf file. How do I do this?
>
>Thanks!
>
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly
>
>
>
>



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

Предыдущее
От: "Graham Bartlett"
Дата:
Сообщение: Problem connecting to postgres
Следующее
От: "Devinder K Rajput"
Дата:
Сообщение: Re: Problem connecting to postgres