Re: PostgreSQL installation failure - Mailing list pgsql-general

From John R Pierce
Subject Re: PostgreSQL installation failure
Date
Msg-id dc2b7d5c-772f-3794-f23f-ad74c457961a@hogranch.com
Whole thread Raw
In response to PostgreSQL installation failure  (Thomas.Deboben.ext@rohde-schwarz.com)
List pgsql-general
On 9/16/2016 1:53 AM, Thomas.Deboben.ext@rohde-schwarz.com wrote:
psql: could not connect to server: Connection refused (0x0000274D/10061)
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 5432?

that says it all.   Is the postgres service running ?  and if it is, whats listen_addresses set to in postgresql.conf ?  your system has ipv6 enabled, so listen_addresses should be 'localhost'  not just '127.0.0.1'.  Or, it could be '*' if you want to listen on all interfaces (eg, allow LAN connections).



-- 
john r pierce, recycling bits in santa cruz

pgsql-general by date:

Previous
From: Alex Ignatov
Date:
Subject: Re: Unable to create oracle_fdw (foreign data wrapper) extension
Next
From: Nikolai Zhubr
Date:
Subject: Nonblocking libpq + openssl = ?