Change the default port?

I have a router that doesn’t have the ability to perform port translation as part of port forwarding: the incoming port must equal the interior port. Yes, I’d switch routers if I could, but it’s the required device for my Internet & TV service; no alternates are available. I’d be fine with the non-translated port if I only had one Plex server, but I’ve got two…

Is there a way to modify the server listening port so I can get port forwarding to work correctly, or am I screwed because it’s the only way to get the local clients to work?

@millardjk said:
I have a router that doesn’t have the ability to perform port translation as part of port forwarding: the incoming port must equal the interior port. Yes, I’d switch routers if I could, but it’s the required device for my Internet & TV service; no alternates are available. I’d be fine with the non-translated port if I only had one Plex server, but I’ve got two…

Is there a way to modify the server listening port so I can get port forwarding to work correctly, or am I screwed because it’s the only way to get the local clients to work?

Just change it to something other than 32400 in the Plex Web App. Show Advanced under Settings | Server | Remote Access | Server Mapping | Manually specify port

@lqvnguyen said:
Just change it to something other than 32400 in the Plex Web App. Show Advanced under Settings | Server | Remote Access | Server Mapping | Manually specify port
That won’t work. That only affects the external port.
@millardjk said:
Is there a way to modify the server listening port so I can get port forwarding to work correctly, or am I screwed because it’s the only way to get the local clients to work?
The internal port is hard coded and cannot be changed. The only way I can see this possibly working is by purposely setting up a double NAT. Basically get another router and connect it after your ISP provided one. Then from your ISP router forward say external port 20,000 to router 2 IP:20,000 for server 1 and external 21,000 to router 2 IP:21,000 for server 2. Then on router 2, external 20,000 to server 1 ip:32400 and external 21,000 to server 2 ip:32400.

You can use a different port and then port forward to 32400 locally. On Windows this can be done with Netsh: http://woshub.com/port-forwarding-in-windows/ (you may need to adjust your (Windows) Firewall as well).

Start the command prompt as an administrator and perform the following command:

netsh interface portproxy add v4tov4 listenaddress=<ip-of-pms-machine> listenport=12345 connectaddress=<ip-of-pms-machine> connectport=32400

You can now access the web interface of PMS on http://<ip-of-pms-machine>:12345

Since asking the question, my router has received a firmware update that allows me to map an external != 32400 to the internal ==34200, and now both Plex servers are accessible by remote.