Re: Unable to connect postgreSQL 8.4 with java application.

Поиск
Список
Период
Сортировка
От dmp
Тема Re: Unable to connect postgreSQL 8.4 with java application.
Дата
Msg-id 4B703EA0.4010608@ttc-cmc.net
обсуждение исходный текст
Ответ на Unable to connect postgreSQL 8.4 with java application.  (Neha Mehta <Neha.Mehta@lntinfotech.com>)
Список pgsql-jdbc
>  Hi,
>
> I am a newbie to postgreSQL. I am trying to connect my java
> application(using jdbc) with postgreSQL 8.4 , but I am getting the
> following error :
>
> FATAL: no pg_hba.conf entry for host "172.17.88.52", user "postgres",
> database "ofbiz-test", SSL off
>
> I tried adding the host name in pg_hba.conf file as :
>
> host all all 172.17.88.52 255.255.255.255 trust
>
> but when I restart the server, I get an error…


Looks like the address must be CIDR-Address, did you try:

host all all 172.17.88.52/32 trust

> Is it necessary to use postgreSQL with SSL if my java application uses
> SSL??

Someone else here should be able to answer this.

danap


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

Предыдущее
От: Neha Mehta
Дата:
Сообщение: Unable to connect postgreSQL 8.4 with java application.
Следующее
От: "Jeenicke, Martti"
Дата:
Сообщение: Strange behavior after setting timestamp field to null - A bug?