pgAdmin4 starts on an unpredictable port. I would like to fix it so it always uses the same port.
According to the docs I can configure this through a plist file, but that file is overridden on starting pgAdmin4.
How can I specify a fixed port to run pgAdmin4 on?
It depends on the version you are using.
Because of the change to a standalone application this setting is moved to:
Source: https://superuser.com/a/1476745/516502
Note: Some version pre v4.26 had a bug where it ignored the value. This was fixed in v4.26 (issue #5773).