public inbox for [email protected]
help / color / mirror / Atom feedFrom: Saul Perdomo <[email protected]>
To: Kal <[email protected]>
Cc: [email protected]
Subject: Re: Postgres listens on random port
Date: Tue, 5 Nov 2024 09:26:46 -0500
Message-ID: <CAN3jBgGPjkrxG0E2SKjTo45heBRPEpLxNHvW8SN+4OAcq8rRuA@mail.gmail.com> (raw)
In-Reply-To: <CACO9DYKtYpE4yeV1r4Gp4hFC7=n_-fG7+Bj35F5M+v0s=ZEDWw@mail.gmail.com>
References: <CACO9DYKtYpE4yeV1r4Gp4hFC7=n_-fG7+Bj35F5M+v0s=ZEDWw@mail.gmail.com>
" But the database actually listens on some random port like 20011"
How exactly did you determine this?
(If you used, say, netstat, can you share its output with us?)
On Tue, Nov 5, 2024 at 8:46 AM Kal <[email protected]> wrote:
> Hi
>
> I have a scenario in which postgres listens on a random port different
> from the one which was specified in pg_ctl start command.
>
> This occurs in windows. When postgres is started on port 5460, the logs
> denote that postgres is started on 5460. But the database actually listens
> on some random port like 20011
>
> When the same postgres is started as a service,it listens on the intended
> port.
>
> I have tried with both normal and admin users.
>
> Any suggestions on this behaviour will be helpful.
>
>
> Regards
> Kal
>
view thread (2+ 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: Postgres listens on random port
In-Reply-To: <CAN3jBgGPjkrxG0E2SKjTo45heBRPEpLxNHvW8SN+4OAcq8rRuA@mail.gmail.com>
* 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