Search Postgresql Archives

Re: Postgres listens on random port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/5/24 06:22, Kal wrote:


On Tue, 5 Nov 2024 at 7:42 PM, Greg Sabino Mullane <htamfids@xxxxxxxxx <mailto:htamfids@xxxxxxxxx>> 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.

How did you connect to the database to run the query if the port is random?

In other words what client and connection settings did you use to connect to the server and run the query?


But the database is listening on some other random port.


Regards
Kal

--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux