How do I specify the TCP port number for Postgresql?
The mailman.cfg file on the system I am working on includes this line:
url: postgres://mailman3:mailman3:@localhost/mailman3
This works fine as long as the postgresql server is at the default port number of 5432. How do I specify a different TCP port number? My guess is that a change to this line is needed, but unfortunately, it is not obvious to me how to make that change, and I have been unable to find this information in the mailman3 documentation or in a previous mailing list post. Feel free to point me at the documentation or post that I have overlooked.
Thanks,
Ken
On 6/28/23 11:36 AM, kjohnson@eclypse.org wrote:
The mailman.cfg file on the system I am working on includes this line:
url: postgres://mailman3:mailman3:@localhost/mailman3
First, you should change postgres
in the url to postgresql
. See
https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/NEWS.h...
Also, the second colon shouldn't be there unless it's part of the mailman3 user's password.
Then the docs don't say so, but you can change localhost
to
localhost:pppp
to specify port pppp. The syntax is defined in RFC
1738. See https://datatracker.ietf.org/doc/html/rfc1738#section-3.1
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
kjohnson@eclypse.org
-
Mark Sapiro