# \[SOLVED\] Locked out from the server

**URL:** https://forums.plex.tv/t/solved-locked-out-from-the-server/801008
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [July 16, 2022, 11:48pm UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008 "2022-07-16T23:48:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Martino](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/martino/32/134266_2.png) [@Martino](https://forums.plex.tv/u/Martino)
#### Post date: [July 16, 2022, 11:48pm UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/1 "2022-07-16T23:48:52Z")

</div>

I All,  
i’have accidentally removed my server from the authorised devices from [plex.tv](http://plex.tv).  
Now i cant reattach it anymore.  
I have tried this:  
[https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/](https://support.plex.tv/articles/204281528-why-am-i-locked-out-of-server-settings-and-how-do-i-get-in/)

I have deleted the 4 lines from Preferences.xml but nothing.

If i login sia web on my server locali and not via [plex.tv](http://plex.tv) i don’t have server settings avaiable.

 ![image](https://global.discourse-cdn.com/plex/original/4X/9/9/9/999b4e6e40340773e86e10d183c54250cb7dba1a.jpeg)

 ![image](https://global.discourse-cdn.com/plex/original/4X/f/e/e/fee2657364e45bcc143fddf2b7c239052336dac3.jpeg)

How i can resolve this?

Thanks  
M.

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [July 17, 2022, 12:03am UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/2 "2022-07-17T00:03:31Z")

</div>

Did you stop the server when you cleared those entries from the `preferences.xml`?  
Are you on the same subnet when you’re trying to access the server through its local IP address?

---

<div class="post-metadata">

### Author: ![Martino](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/martino/32/134266_2.png) [@Martino](https://forums.plex.tv/u/Martino)
#### Post date: [July 17, 2022, 12:16am UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/3 "2022-07-17T00:16:13Z")

</div>

Sure,  
/usr/sbin/service plexmediaserver stop  
delete entries  
and than  
/usr/sbin/service plexmediaserver start

even rebooted my server.  
And yes, i’m on the same network (the server is on DMZ and i’m on LAN but LAN \> DMZ is full accessible

i know, is strange.  
I have also removed all the

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/

folder (renamed it)  
but nothing changed…

🙁

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [July 17, 2022, 12:19am UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/4 "2022-07-17T00:19:18Z")

</div>

I hope you know what you’re doing when placing your server in a DMZ… if not, that’s quite a gamble.  
Your LAN having full access to the DMZ doesn’t mean they’re on the same subnet. You can only claim a server while being on the same subnet – if you’re not, you need at least to “simulate” that (e.g. by using a SSH tunnel → see related section in the [server installation](https://support.plex.tv/articles/200288586-installation/) support article).

---

<div class="post-metadata">

### Author: ![Martino](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/martino/32/134266_2.png) [@Martino](https://forums.plex.tv/u/Martino)
#### Post date: [July 17, 2022, 12:23am UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/5 "2022-07-17T00:23:55Z")

</div>

Solved,  
i have the server in DMZ from years, so is configured well but i hare right, accessing the server is not the same to be on the same subnet so i have ssh port forwarder and than i was able to link my server to plex.tv.

Thanks

M.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [October 15, 2022, 12:24am UTC](https://forums.plex.tv/t/solved-locked-out-from-the-server/801008/6 "2022-10-15T00:24:20Z")

</div>

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