Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux