From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Upgrade 9.4 to 12 on windows system
Date: Thu, 19 Nov 2020 07:17:03 -0800
Message-ID: <10fa7293-1194-7227-47a6-bbf08e26c623@aklaver.com> (raw)
In-Reply-To: <deba34f6-4e69-8e9f-e178-282ffbd71461@a-kretschmer.de>
References: <CADA48rHzKCb1fOsuKqEUG_P_J6stBt8S+Sq_JEsL44RR_vYQTg@mail.gmail.com>
<deba34f6-4e69-8e9f-e178-282ffbd71461@a-kretschmer.de>
On 11/19/20 7:08 AM, Andreas Kretschmer wrote:
>
>
> Am 19.11.20 um 15:05 schrieb Asya Nevra Buyuksoy:
>>
>>
>> connection to database failed: could not connect to server: Connection
>> refused (0x0000274D/10061)
>> Is the server running on host "localhost" (::1) and accepting
>> TCP/IP connections on port 50432?
>> could not connect to server: Connection refused (0x0000274D/10061)
>> Is the server running on host "localhost" (127.0.0.1) and accepting
>> TCP/IP connections on port 50432?
>>
>
>
> have you a firewall installed on the machine? Is port 50432 blocked?
> Default port for PostgreSQL is 5432, not 50432.
Port 50432 is what pg_upgrade uses to stay clear of existing ports:
https://www.postgresql.org/docs/12/pgupgrade.html
"Obviously, no one should be accessing the clusters during the upgrade.
pg_upgrade defaults to running servers on port 50432 to avoid unintended
client connections."
> Andreas
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, andreas@a-kretschmer.de
Subject: Re: Upgrade 9.4 to 12 on windows system
In-Reply-To: <10fa7293-1194-7227-47a6-bbf08e26c623@aklaver.com>
References: <CADA48rHzKCb1fOsuKqEUG_P_J6stBt8S+Sq_JEsL44RR_vYQTg@mail.gmail.com> <deba34f6-4e69-8e9f-e178-282ffbd71461@a-kretschmer.de> <10fa7293-1194-7227-47a6-bbf08e26c623@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox