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

From Adrian Klaver
Subject Re: How to add hosts to pg_hba.conf and postgresql.conf?
Date
Msg-id 4D7FA1AE.2020501@gmail.com
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?  (general_lee <tim_stockford@hotmail.com>)
List pgsql-general
On 03/15/2011 09:36 AM, 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?

With the above connection string you are not actually connecting to a
host. From the error message 'Is the server running on host ""...'

>
>
> Thanks,
>



--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Maximum number of tables
Next
From: Raymond O'Donnell
Date:
Subject: Re: How to add hosts to pg_hba.conf and postgresql.conf?