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

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: general_lee <tim_stockford(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to add hosts to pg_hba.conf and postgresql.conf?
Date: 2011-03-15 17:28:14
Message-ID: 4D7FA1AE.2020501@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2011-03-15 17:33:27 Re: How to add hosts to pg_hba.conf and postgresql.conf?
Previous Message general_lee 2011-03-15 17:24:31 Re: How to add hosts to pg_hba.conf and postgresql.conf?