Re: Postgres listens on random port - Mailing list pgsql-general

From Erik Wienhold
Subject Re: Postgres listens on random port
Date
Msg-id 3ce47d5d-2b4d-44d6-afc1-a10ddf46d4e1@ewie.name
Whole thread Raw
In response to Re: Postgres listens on random port  (Kal <kalel.code11@gmail.com>)
List pgsql-general
On 2024-11-05 15:22 +0100, Kal wrote:
> On Tue, 5 Nov 2024 at 7:42 PM, Greg Sabino Mullane <htamfids@gmail.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



pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Postgres listens on random port
Next
From: Mark Hill
Date:
Subject: Postgres 12.21?