Need help undoing manually specifying public port

I set up the Plex Server on my Synology DS 1019+. It was working fine until I selected the option to manually specify the public port and put in what I thought was the correct port to use. I apparently was mistaken and should not have used the port number I put in. Prior to making this selection the Plex Server was working fine on all of my devices. Afterwards the server will not run and states, " This site can’t be reached xx.xxx.x.xxx took too long to respond. * Search Google for [229 110 32400 web] ERR_CONNECTION_TIMED_OUT"

I decided to undo my mistake, however, since the server will not run I am unable to deselect the manual specification of the public port. I have uninstalled and reinstalled the Plex Server on the synology, and that has had no effect. I have also deleted the server from the Plex account in the hopes that it would somehow allow me to reset the port selection, but that has not worked either.

Can anyone provide some assistance or instructions on what to do next? I have read through forum entries, but have not located one that addresses this issue. I found one that directs the user to check a box allowing the Plex client to look at all ports for Plex media, but I have been unable to locate that option in the Plex account.

Install the Synology “Text Editor”

  1. Stop Plex
  2. Grant your username permission to read/write the Plex share (Control Panel - Shared Folders - Permissions)
  3. File Station - drill into the Plex share until you see “Preferences.xml”
  4. Right -click & Edit it.
  5. Remove the option="value" pairs for the port without disturbing anything else.
  6. Save
  7. Start Plex

ChuckPA, thank you for the response and excellent step by step directions. Your response is greatly appreciated.

Found the Preferences.xml file after installing “Text Editor” and right clicked to edit it.

image

Unfortunately, there is no option=“value” pair to remove. There are only the following pairs listed:

?xml version=“1.0”
encoding=“utf-8”?
Preferences OldestPreviousVersion=“xxx” MachineIdentifier=“xxx” ProcessedMachineIdentifier=“xxx” AnonymousMachineIdentifier=“xxx” MetricsEpoch=“1” CloudSyncNeedsUpdate=“0”/

I removed the identifiers and inserted “xxx” since this is a public forum and I am unaware what the information would allow a person to do.

When I wrote option="value", I was referring to the general format of all entries in the Preferences file.

e.g. LastAutomaticMappedPort="21052"

You should find ManualPortMappingPort and also ManualPortMappingMode.

These are the two I was referring to.

If you’re not finding these in the list, then your server is not using Manual Port mapping.

Your screenshot shows me PMS has Remote Access enabled.

How about you disable it first and let PMS close the active attempt to allow remote access?

Then, you can stop PMS and examine the Preferemces.xml file.

The status of Preferences.xml is indeterminate when it’s in this state. It’s enabled but not complete.

Unfortunately that was a pic I grabbed online to show which box I had checked, entered a port number, and then saved. My server was reachable from outside of my network prior to that action. I am unable to change any settings in PMS at the moment because it will not even launch for me. I get the “This site can’t be reached” screen. I can look at the PMS logs, but my lack of knowledge means I am unable to determine where in all of the lines of information the problem is located. After stopping the PMS, and opening the preference file, it only lists the following pairs:

?xml version=“1.0”
encoding=“utf-8”?
OldestPreviousVersion=“xxx”
MachineIdentifier=“xxx”
ProcessedMachineIdentifier=“xxx”
AnonymousMachineIdentifier=“xxx”
MetricsEpoch=“1”
CloudSyncNeedsUpdate=“0”/

I have attempted to uninstall and reinstall PMs twice on the synology in the hopes that would allow me to set it up again from scratch and undo the mistake I made. However, there must be a file somewhere that I am missing that is preventing me from doing that successfully.

Do you have DSM’s remote desktop mode enabled on the Synology?

If so, you get to it that way.

Yes, I am using it currently to try each of the proposed solutions as we discuss them for PMS.

Could the reason the Preference File does not show an entry for the Manual Port MappingMode be because I have uninstalled and reinstalled PMS since I made that change?

No. Uninstall / reinstall has no impact on the Plex data itself.
I keep the program files in a separate place on Synology (/var/packages).
I keep your metadata & system configuration on /volume1/Plex (by default).

You can try to

  1. Stop Plex
  2. rename “Preferences.xml” to “Preferences.xml.old”
  3. Start Plex
  4. Open it and begin, what it thinks, a new installation.
  5. In this case, DO NOT create new library sections. Your libraries are still there.
  6. Continue through the setup wizard normally
  7. Arrive at the dashboard.

If all this is good. we can now go to “Settings - Authorized Devices - Servers” (left corner) and Remove the original .

What you need is SSH access to the server so we can setup a SSH-tunnel and put you on its console.
Do you have such capability ?

I have never done SSH tunneling before.

No problem with showing you how to tunnel. That part is easy.

The challenge here is getting into the NAS, using SSH, without leaving your system exposed to other SSH intrusion attempts while we’re doing it.

Do you have VPN capability where your computer can be ‘essentially’ on the same LAN? What we need is to get you “local” to it somehow (at the IP address level).

Once Local, we can do this with ease.

I have been using QuickConnect for the synology to access it remotely. After I return home this evening I can get on one of my computers locally on the same LAN.

If you can outline what I have to do this evening, I will attempt it once I get home and then post my results. Happy to give it a try. Thank you again for your help.

I’ll be more than happy to help you once you’re local to it.

It’s SO much easier.

At home on my LAN.

Crashing for the night. Work comes early for me in the morning.

Will try again tomorrow. sorry. just got back from dinner.

No worries. You are doing me a huge favor and I appreciate your help. Does between 7:00-9:30 PM EST work for you?

Yes. that will be great. I’ll make time to be available.