Re: Regarding connection thru web application

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Regarding connection thru web application
Дата
Msg-id 200212031904.04628.dev@archonet.com
обсуждение исходный текст
Ответ на Regarding connection thru web application  ("Prachi Jain" <prachijain3@rediffmail.com>)
Список pgsql-general
On Tuesday 03 Dec 2002 5:28 pm, Prachi Jain wrote:
>
> java.sql.SQLException: Could not connect to the server;
> Could not resolve hostname.
>
> What are the changes i need to do, if i m connecting thru web
> application. This is the first time i m interacting with Postgres,
> so please don't mind if the question is silly. But, please do
> respond.

No questions are silly. Can't guarantee the same for my answers.

Check for typo's and DNS errors - the error is saying it can't find a hostname
(e.g. database.example.com).
Then check that you can connect via psql from the client machine. If it still
doesn't work, then we can look at the ODBC settings.

--
  Richard Huxton

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

Предыдущее
От: "Aurangzeb M. Agha"
Дата:
Сообщение: alter table differences on Cygwin and Linux?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: alter table differences on Cygwin and Linux?