Re: How to add hosts to pg_hba.conf and postgresql.conf?

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: How to add hosts to pg_hba.conf and postgresql.conf?
Дата
Msg-id 4D7FA2E7.7020800@iol.ie
обсуждение исходный текст
Ответ на Re: How to add hosts to pg_hba.conf and postgresql.conf?  (general_lee <tim_stockford@hotmail.com>)
Ответы Re: How to add hosts to pg_hba.conf and postgresql.conf?  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general
On 15/03/2011 16:36, general_lee wrote:
> Both the below were ran on the Postgres Server.
>
>
> $ telnet  5432
> Trying ...
> telnet: Unable to connect to remote host: Connection refused
>
>
>
> $ psql -h  -U post_owner -d post_db
> psql: could not connect to server: Connection refused
>          Is the server running on host "" and accepting
>          TCP/IP connections on port 5432?

Don't you need to have a host in there? - e.g.

$ psql -h 127.0.0.1 <etc....>

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: How to add hosts to pg_hba.conf and postgresql.conf?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: How to add hosts to pg_hba.conf and postgresql.conf?