Accidentally disconnected form Remote Access

I have all the latest versions, running my server through a Synology ds218+ NAS.
I am using a Public IP that is why I cant connect to the server normally. Also I have a MacBook.

The first time I connected to the server I had to create a tunnel to get in, and claim the server for the first time. It worked but now I was changing some settings and I disable the remote access by accident. Now even while doing a tunnel connection I can’t find the server. Any advice ? I don’t know what to do.

SSH tunnel to the Synology

Scroll down to On a Different Network
The procedure works because a public IP is a ‘different network’.

Thanks for the reply @ChuckPa. I already tried this method, as I had to do it the first time. I think because I disable the remote access, the port 32400 was removed or something. When I connect through the method you suggested it does not find a server.

  1. Sign out of Plex/web (upper right corner)
  2. Close the browser
  3. Open the browser
  4. Open an incognito window THROUGH the tunnel.

When opened correctly through the tunnel, it will appear to you as if you are connecting to http://127.0.0.1:8888/web This is the correct port to use.

Thanks I’ll try it. One question, when you say open through the tunnel do you mean. Connecting with terminal and while being connected, then open a safari/chrome webpage separately. Or is there a way to open a safari window within the terminal?

If you’re using a Mac,

  1. In a terminal window: ssh -L 8888:127.0.0.1:32400 ip.addr.of.synology
  2. Sign in and let it sit idle. This is the tunnel session.
  3. Now open the browser to http://127.0.0.1:8888. The HTTP traffic flows through the SSH session.

@ChuckPa I tried multiple times, reinstall the PMS on the Synology and nothing. It does not find the sever. I am indeed tunneling so I don’t know.

are you 100% certain PMS is running?

Please go to the Plex share ( Go to Control Panel - Shared Folders - EDIT the plex share - give your username Permission if you don’t)

In FileStation, drill into it until you see the Logs directory.

Right -click and Compress to Logs.zip

Please attach that ZIP file here.

Yes, I do have permission on my user and admin. Again Thanks for helping me

Moderator Edit: Logfiles removed

Ok. Let’s take this to the next step. We going to reset the ownership and let you claim ownership of it again.

  1. Stop Plex
  2. Drill into the Plex share and rename Preferences.xml to Preferences.xml.old
  3. with the SSH tunnel open,
  4. Again sign out of Plex/web in the browser and close the browser
  5. Start Plex
  6. open http://127.0.0.1:8888/web
  7. It will present you with “Got It” and “Sign in”
  8. At this point, it will also prompt you to setup a new server.
  9. We’re going to ignore a large portion of this.
  10. SKIP creating any new libraries. Your existing libraries are still there.
  11. As you proceed through the setup wizard, set them as you wish
  12. When you arrive at the dashboard (clicking Finish), you will see all your libraries waiting for you.
1 Like

@ChuckPa Thanks !! It worked ! If I may ask you one more question, is there any way I can enable remote access through a Public IP?

Yes. Settings - Server - Remote Access - Enable it.

If it doesn’t turn green (because it’s handled UPnP) then create a manual port forwarding rule (if needed) from the edge device IP to the server IP - port 32400.

Port forwarding is External-IP:port -> Internal-IP:32400

Could you please be more specific with the port forwarding rule? Where and what do I have to configure? Thanks

The support page is here: https://support.plex.tv/articles/200289506-remote-access/

Port forwarding is the process by which you translate WAN address:port -> LAN address:port and transit through a firewall.

If the machine has a public IP, it’s already on the internet.
Enabling remote access in the settings advertises the server to Plex.tv (which does the DDNS brokering for your server within the Plex ecosystem

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.