public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: BeeRich Lists <[email protected]>
Cc: Submit Postgresql Novice <[email protected]>
Subject: Re: psql: error: could not connect to server: Connection refused
Date: Sun, 03 Jul 2022 21:45:31 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
BeeRich Lists <[email protected]> writes:
> Hi folks. I cannot connect to my postgres server. I’ve run through all the directives and I still can’t understand why this isn’t showing up.
It sure looks like the postmaster doesn't think you told it to
listen on any TCP sockets, because if it did they'd have been
listed in the initial log output. Are you sure that this setting
is really the active one?
> listen_addresses = '*'
It could also be that there is something weird about your system
environment that is causing '*' to expand to nothing. Try
explicitly specifying '127.0.0.1, ::1' instead.
regards, tom lane
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: psql: error: could not connect to server: Connection refused
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox