Server Version#: 1.40.2.8395
Player Version#: 4.129.1 (web)
I run my Plex server on an Ubuntu VPS, hosted in the cloud.
When I try to change to a manually-specified port, it is unable to connect. The port in question is open on the VPS’s firewall (ufw).
There is no other firewall involved: my VPS has a public IP and connects directly to the Internet.
I have tried a few different ports, but no joy.
The reason for doing this is that my work refuse to allow outbound connections on port 32400. If I could change the port to a more commonly-allowed port (such as 43, 80, or 8080), I might be able to access Plex at work. (My work have no problem with me using Plex, but they refuse to open ports on their firewall for me.)
It has an example that redirects inbound traffic on port 80 to port 8123. You could try modifying that as needed to redirect the desired inbound port to 32400.