"You do not have access to this server" when I try to manage plugin

Server Version#: 1.28.0.5999
Player Version#:

I’ve installed Plex Media Server plugin in Truenas Core 12. I try to manage the server or go to the {ip of server}:32400/ and I get the message “You do not have access to this server”. I go to my authorized devices page from the web page after logging into Plex, and there is no approved truenas device listed.

I followed the support page https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/ and opened Preferences.xml in ```
${JAIL_ROOT}/Plex Media Server/ via ee in the Truenas console. None of the entries listed in that support page are visible in the Preferences.xml file I found.

There are only two lines to the Preferences.xml file, and entries include “Oldest previous version=… MachineIdentifier=”<string of letters/numbers>" ProcessedMachineIdentifier="<string of letters/numbers> AnonymousMachineIdentifier=“string of letters/numbers” MetricsEpoch=“1” GlobalMusicVideoPathMigrated=“1”/>

Did I do something incorrectly? Is there some other way to make my truenas an authorized device for my account? And to be able to access my truenas server?

(Note: I have never had Plex working on this truenas. I did remove a truenas device as an authorized device from my account a while ago after I had installed an instance of truenas without any media just to see how I liked it. I have also tried destroying and reinstalling the Plex plugin more times than I can count. I install to a static IP because DHCP does not work).

Solved this: as I said, DHCP wasn’t working so I used a static IP. However, the netmask of 32 that I was using turned out to be the problem. When I finally tried cycling different netmasks, netmask 24 was able to connect to Plex in such a way as to properly set up the server.

Problem solved.

You changed the netmask of what exactly?

I turned off DHCP Autoconfigure IPv4 and changed the netmask of my jail to /24
Jail IP shows the ip and /24 x.x.x.x/24
I still can’t get in.

Also, when you opened that xml, what did you use? ee? Can you elaborate?