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

From: Raymond O'Donnell <rod(at)iol(dot)ie>
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:33:27
Message-ID: 4D7FA2E7.7020800@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message general_lee 2011-03-15 17:37:30 Re: How to add hosts to pg_hba.conf and postgresql.conf?
Previous Message Adrian Klaver 2011-03-15 17:28:14 Re: How to add hosts to pg_hba.conf and postgresql.conf?