Re: Help with PostgreSQL Access

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Help with PostgreSQL Access
Дата
Msg-id web-1830007@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на Help with PostgreSQL Access  (Andrew Tuson <andy@forum.demon.co.uk>)
Список pgsql-novice
Andrew,

> Connection to database failed
> could not connect to server: Connection refused
> Is the server running on host localhost and
> accepting TCP/IP connections on port 5432?

Was postmaster started with the "-i" option, allowing postgres to
accept connections via TCP/IP?   This is the usual cause for that
particular error message.

PSQL will work via UDP, but not PGAccess or PHPPgAdmin.  A quick test
would be to try to connect to your database from another machine using
PSQL; if you get the exact same message, you don't have "-i" set.

-Josh Berkus

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

Предыдущее
От: "Reshat Sabiq"
Дата:
Сообщение: Re: Portability, was: using functions to generate custom error messages
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: Help with PostgreSQL Access