[SOLVED] How to disable remote access but allow local access?

Server Version#: 1.15.6.1059 (latest version)

If I disable remote access, then I’m unable to access the Plex Server through an SSH tunnel connection. An SSH tunnel allows me to access local services (just like a VPN does). In this case, I forward port 32400 through the tunnel.

Here are the steps I take and the output:

  1. Disable the remote access option in settings
  2. Visit http://127.0.0.1:32400/web/index.html in my web browser (SSH tunnelled)

Here is the problem. I don’t see my local Plex Server instance.
Instead I see this:
Imgur

It should show my folders and movies, etc. Why doesn’t it?

If I physically go to the server computer I can access Plex locally. But the SSH tunnel should be the same as being physically on the server computer (at least it behaves that way for every other service I use).

How do I disable remote access but allow local access through SSH tunnel?

SOLVED:
It appears to be solve by adding the following to
Plex.TV Web App > Settings > Server > Network > Custom server access URLs

https://127.0.0.1:32400

I believe routing through the port is essentially simulating remote access to the system, but honestly, I’d have to wait for a heavy hitter to weigh in on network specifics.

If you haven’t invited anyone to access your server remotely, does it really matter how you get in?