Re: connectivity problem

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: connectivity problem
Дата
Msg-id Pine.LNX.4.33.0401300049420.10418-100000@leary.csoft.net
обсуждение исходный текст
Ответ на connectivity problem  (adp adp <adp_group2004@yahoo.co.in>)
Список pgsql-jdbc

> and here is the error I receive :
>
> Exception
> The connection attempt failed because Exception:
> java.net.UnknownHostException: localhost
> Stack Trace:
>

Java cannot resolve the IP address for localhost.  This is a general
network configuration problem unrelated to postresql.  Please check your
/etc/hosts file, you should have a line like

127.0.0.1    localhost

in it.  You can test that this is working by trying to ping localhost and
verifying that it correctly resolves.  Another option would be to
explicitly specify the IP address in the connection url.

Kris Jurka



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

Предыдущее
От: adp adp
Дата:
Сообщение: connectivity problem
Следующее
От: "Email User"
Дата:
Сообщение: org.postgresql.core.QueryExecutor.execute not responding (Deadlock ?)