Re: How to add hosts to pg_hba.conf and postgresql.conf? - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: How to add hosts to pg_hba.conf and postgresql.conf?
Date
Msg-id 4D7FA2E7.7020800@iol.ie
Whole thread Raw
In response to Re: How to add hosts to pg_hba.conf and postgresql.conf?  (general_lee <tim_stockford@hotmail.com>)
Responses Re: How to add hosts to pg_hba.conf and postgresql.conf?  (John R Pierce <pierce@hogranch.com>)
List 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 by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: How to add hosts to pg_hba.conf and postgresql.conf?
Next
From: John R Pierce
Date:
Subject: Re: How to add hosts to pg_hba.conf and postgresql.conf?