Re: Postgres listens on random port

From: Erik Wienhold <ewie(at)ewie(dot)name>
To: Kal <kalel(dot)code11(at)gmail(dot)com>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgres listens on random port
Date: 2024-11-05 14:43:58
Message-ID: 3ce47d5d-2b4d-44d6-afc1-a10ddf46d4e1@ewie.name
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2024-11-05 15:22 +0100, Kal wrote:
> On Tue, 5 Nov 2024 at 7:42 PM, Greg Sabino Mullane <htamfids(at)gmail(dot)com>
> wrote:
>
> > Start by seeing where the port is actually being set by running this:
> >
> > select setting, source, sourcefile, sourceline from pg_settings where name
> > = 'port';
> > Cheers,
> > Greg
> >
> > Hi Greg,
>
> The query output states the source as command line. Event the port value
> output from show port is same as given in pg_ctl command.
>
> But the database is listening on some other random port.

Please provide more details:

1) The complete pg_ctl command that you've executed.

2) Which Postgres version?

3) Which OS?

--
Erik

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Hill 2024-11-05 15:21:24 Postgres 12.21?
Previous Message Ron Johnson 2024-11-05 14:40:47 Re: Postgres listens on random port