Re: Problem with host connection

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Problem with host connection
Дата
Msg-id m3zof9xtv2.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Problem with host connection  (Jeremy Smith <Jeremy@justasofty.com>)
Список pgsql-general
Jeremy Smith <Jeremy@justasofty.com> writes:

> This is a new area to me, I am rewriting a Microsoft Access
> application for the company I work for in Java and Postgres.  I have
> created a testdatabase called history which I can access with <psql
> history> fine as well as from a Perl test app I have written.  But
> if I try to specify a host in either my Java test app or psql I get
> the same error message

> Connection to database 'history' failed.
> connectDB() -- connect() failed: Connection refused
> Is the postmaster running (with -i) at '127.0.0.1' and accepting connections
> on TCP/IP port '5432'?

By all evidence you're not running the postmaster with '-i'.  Chechk
your startup script.

-Doug

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: newbie question
Следующее
От: Tulio Oliveira
Дата:
Сообщение: Trigger and Permissions