[HowTo] Use Plex with No Internet

I’ve seen far too many posts regarding “can’t connect to Plex with no internet”, and an uprising/outcry always ensues. It eventually settles down, but the lack of single point resources can be frustrating. I’ve been there, no internet - can’t google anything from a computer so a phone will have to do, but navigating through results and trying “solutions” can be daunting. I’m creating this How-To to help alleviate those posts and help everyone access their servers when the net is down. Couple of things before we get started.

First: There are fragmented Plex articles and resources out there that describe how to do exactly what I’m about to demonstrate, but I’d like to consolidate them into one single post for easy accessibility/search-ability. I WILL be using some of the screen grabs and instructions from some of these articles.

Second: THIS SHOULD BE DONE BEFORE YOU ENCOUNTER HAVING NO INTERNET, but it can be done when it does go down, instructions for this at the way bottom.

Third: I am demonstrating based and stepping through the setup THAT I KNOW. Hopefully yours is similar. I am using the Linux distro (Ubuntu 16.04LTS). I might have something wrong, or different, I welcome any corrections, criticisms or comments.. so please let me know. I am displaying what i know works for me.

When Do You Need Internet Access

There are a number of situations in which you will need an “internet” connection for either your Plex Media Server or a particular Plex app you’re using.

  • Fast User Switching
    For Plex Pass subscribers making use of the Plex Home feature, an internet connection is required to authenticate when using the Fast User Switching feature to quickly switch between members of your Home. For more please see : Fast User Switching

    • Users have previously commented that for certain devices (e.g. Roku), if the internet goes out Plex can still be accessed as long as the current signed in user DOES NOT sign out or users DO NOT attempt to switch accounts. This is most likely due to a cached connection as mentioned in the next section.
  • Certain Plex Apps
    In some cases, certain apps may require an internet connection to use. Some, like game consoles, rely on the corresponding game service to be available. Others have components of the app itself that have to be loaded dynamically from an internet location. Affected apps:

    • Alexa Voice Control
    • Android TV*
    • Apple TV*
    • Chromecast
    • Fire TV*
    • Most “Smart TV” apps
    • PlayStation
    • Plex Media Player*
    • Sonos
    • TiVo
    • Xbox One

*Both the app and server must be signed in; cached connections can be used when internet is temporarily unavailable

NETWORK SETTINGS

  • To help make it easier to access my Plex Media Server, in my router settings I assigned a static IP to my server, as well as setup port forwarding to 32400. I’m not sure if this is entirely neccessary, but those are my settings so I’m providing it here. PMS = 192.168.1.9

  • Setup your Secure Connection to be “preferred”
    In the Plex Web App navigate to Settings > Server > Network
    Set Secure Connections : Preferred

  • Setup LAN IP addresses
    Click on the Show Advanced button at the top right of the settings area to toggle display of advanced settings. Scroll down to
    List of IP addresses and networks that are allowed without auth.
    Here the local subnet will need to be entered to allow the entire local network. My router gives addresses based off the 192.168.1.xx ip range, so here I have entered 192.168.1.0/255.255.255.0. Depending on how your router is assigning IPs, the range might be different.


    This is a screen shot of my settings however based off Plex’s network article the 127.x IPs will be ignored as indicated

When the Plex Media Server is signed in to an account, specifying 127.0.0.1 will be ignored (you could instead use the specific LAN IP).

ACCESS

  • Web Browser
    Once the network settings have been configured, the PMS can be accessed via a webbrowser using the following: http://[Local Plex Media Server IP Address]:32400/web
    so in my case in the address bar I would enter 192.168.1.9:32400/web
    In this image I am demonstrating accessing my PMS via the IP address while i have no internet (see bottom right corner showing exclamation on wifi).

    When selecting the server drop down, I can no longer see my shared servers, but rather my local PMS with status as Nearby
    • It’s been mentioned that during an internet outage users should NOT clear browser cookies for plex.tv. Please read the following from @OttoKerner.

Many users nowadays fiddle with their browser settings, so everything is cleaned out when the browser is closed.
While that is in general a good idea, it does make life complicated for a Plex web app user: it will invalidate the login session to plex.tv and therefore to one’s plex account.
Not only does one have to re-login to plex.tv, the next time the browser is opened – logging-in is impossible if the internet is out!
This alone covers about 50% of all user’s ‘offline’ issues I reckon.

  • Roku
    My main streaming devices are Roku 3’s.

    • Setup auto sign in to NO
      While I have NOT tested how the Roku would react if Auto Sign In is checked, I’d like to think it would NOT work as my thoughts are that it would try to contact Plex.tv for authentication.. and with no internet, this would fail. SO Navigate to User > Settings > Main and Set Auto Sign In to be unchecked.
    • Allows Insecure Connections
      Navigate to User > Settings > Advanced > Allow Insecure Connections and set to On Same Network. Note: the screen shot is from Retro app, however the setting is the same on the newer versions.
    • (Optional) Set Manual Connection
      The Roku SHOULD auto connect with the above settings, however if it does NOT then the following can be attempted. Navigate to User > Settings > Manual Connections > Connection enter the [Local Plex Media Server IP Address].
      Port auto defaults to 32400, however if you specified a different port, then change it accordingly.
    • Test Connection - with no internet e.g. router unplugged from modem
      To test connection navigate to User > Media Server Status, any local PMS’s should display as Nearby
    • Browse
      While in the home screen media should be displaying, and Offline Mode should be displayed where the user icon should be.
  • Android phone

    • The settings on my android phone are straight forward, I’ll list what i think is imporant here.
      User > Settings > Sharing > Network Discovery - checked
      User > Settings > Advanced > Manual Connections - blank, but optional to enter PMS IP
      User > Settings > Advanced > Allow Insecure Connections - Never, this could also be set to On Same Network
    • The above settings should allow connection to your local PMS with no internet. Here are screen shots of my test results. Note: I’m only connected to WiFi, i have disabled mobile data., AND OFFLINE Browsing is NOT turned on.
      Available Sources

      Since a share was NOT displaying as OFFLINE, i attempted to connect to it

      Local PMS Music DOES work

Network settings - when web browser is not possible/fails

While configuring network settings is easiest through the web browser, some folks (me included) might encounter an issue when the internet is down. This typically occurs when you have NOT already configured for offline access. If this is the case then directly configuring the preferences.xml file will need to be done. Each environment is different, and while I can’t provide examples for each one (if someone can i’ll be glad to edit and include in this post), the settings should be similar to my example. Again I am using Ubuntu 16.04LTS.

  • Find Preferences file
    For your environment you will need to find where the settings file is stored. You can Find directory locations here, we will be working with the Preferences.xml file. For my setup it is located here: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml I can access via command prompt directly on my PMS box or via an SSH connection.
  • Edit Preferences file
    I will be altering the Preferences file. Whenever altering any system or config files it’s always best to first make a backup copy of said file. After navigating to the directory location I execute the following command:
    sudo cp Preferences.xml Preferences.bak
    Once backed up i execute:
    sudo nano Preferences.xml
    With the preferences file open I browse through all settings to find the entry allowedNetworks. If this setting is NOT present i move the cursor to AFTER PubSubServer="xx.xx.xx.xx"(x’s are in place of numbers here), and before OldestPreviousVersion="legacy". Here I enter the following line: allowedNetworks="192.168.1.0/255.255.255.0"
    Please Note: I’m currently going based off of my current preferences.xml, it’s a possibility that this setting can be entered anywhere in the file. I save the file using CTRL+X, then ‘Y’, then ‘Enter’.
  • I don’t know if a restart is required, but if you can’t immediately access your PMS then either attempt to restart the server or the service.
    • To restart just the service on Ubuntu the following can be performed:
      sudo service plexmediaserver stop
      sudo service plexmediaserver start
      or
      sudo service plexmediaserver restart

I surely hope this helps someone. If there are any settings or steps I overlooked please let me know. Or any issues you have encountered and possible solutions. If anyone can provide setups to access from other streaming devices please do, I will include them in this tutorial. I apologize for not detailing things for other environments.

45 Likes
[HOW-TO] Use Plex on LAN without Internet (quick steps)
Use Plex offline on holiday
Must have internet to use. Will not reccomend
Local streaming without internet XBox One
LiveTV without Internet
Why do I need Internet in order to start Plex on my smart TV?
How to make Plex work only on a local network
PMS doesn't work locally without Internet
No internet - no plex
Dose the streaming requird a internet?
Playing movie local consumes internet data, why?
Plex doesn’t work offline when I have internet issues?
Must have internet to use. Will not reccomend
Local LAN streaming no longer works...kinda
Watching Plex, Local Network, when internet is down
Why can't I access local media during internet outage?
Plex off the grid usage?
So Internet is required?
Memory leak since 1.15.x on 300+ Plex Server Instances
Plex unusable if internet connection unavailable
How to use the Plex TV app without an internet connection
Are the Plex network severs down?
Is it possible to isolate Plex from reaching the internet (work only on LAN)?
Why can't I access local media when the internet gets disconnected?
Local plex operation without internet
Access media server settings without internet
Regarding last weeks plex outage why could I not still use it in home
Web app navifation bar issues
What is the best way to use a partially offline Plex server?
Local content w/ no internet connection
Travel server
Android TV app does not play content when internet is out
Plex in a Travel Trailer
Best way to get started?
Can it be done?hardware for Plexmediaserver 49users local nettwork
Would Plex be the best fit in this scenario?
Plex authentication server is down again!
Do you know what amazing feature I'd like?
Are we (plex) down again ... yes .. really?
"The server does not allow secure connections" - Cannot access my media
Internet is Needed for Me to Locally Access My Plex Server? Whaaat?
Plex offline mode
Plex in local and offline
Internet goes down, Plex stops working
Cannot access local content when internet is down
PMS User Experience without internet is horrible
Full Local
Another Offline Playback question
Plex app on LG TV says Network Unavailable on LAN
[How To] Plexamp 4.6.1
Unable to access local plex server when internet isn't available
No internet connexion, no plex ?!
Internet Necessary?
Plex Samsung SmartTV (series 6) app sign-in without internet
Remove Plex account log in requirement
I thought Plex was my personal media server?
Plex on Home network while Internet is down
No access via Lan network while internet is down
Its Another Sign In Issue
Can I connect a smart TV that has network access but no Internet access?
How do I access my Plex Server locally without internet?
No local access when internet is out
How to 100% self host plex?
How to 100% self host plex?
Lost my internet connection for a day and couldn't access PLEX from within my local network
Using Plex Without Internet Connection
Plex and Internet?
DTS problems with PLEX, cannot stream or transcode audio tracks to Dolby Digital
Local media playback function added back into PMS and Plex app for Shield TV with no internet
Does plex require internet now?
Offline Plex sever (on boat) is requiring an "account"
Optimising Plex for local content
Accessing plex server without internet?
Content restrictions in WebUI ignored
Can't Access PMS When Internet is Offline
How To Use Plex On XBOX One With No Internet
Local/Private Network
[Roku] Home page doesnt work without internet connection (all content is local)
Need help syncing library with RV so that it can be played back over LAN to multiple devices
PMS: extended periods without internet
Make Plex Work in Local Only Mode
Plex.tv is down again, cant stream local
Are you required to periodically login with Plex to keep synced items?
Plex working with no internet
Playing local media without external internet connection
Using Plex on AppleTV without internet?
Plex on smart tv without internet
PLEX SERVERS DOWN - Users Denied Access to Even Their Local Content
Using Plex with wired setup and no internet
Internet bandwidth consumption on local media server
No internet connection, no plex to local tv's
Does now work without internet
Unable to use Plex offline [Solved ]
UnRaid Server - allow local connections Unauthenticated
Why in the F*** does Plex Player need Internet to work for local content?
Data usage
Spectrum Community Solutions and direct play in org. quality
If i can see movies localy with laptop closed (download on it)
No Internet no party?
Plex thinks I am connecting External but I am on my local network
Local network functionality without account
Plex logins from TV clients
Ditect connectiom
Plex.tv issues even when trying to watch plex locally
New plex user … question about lan only streaming
Offline mode broken on 5.29.1
Samsung TV/Android Phone - How to stream from local plex server (Ian cut out Internet Service)
Not able to use server without internet
Local Connections When WAN Is Down
Internet Out -- Can't connect to local server. No surprises
Pms+shieldtv+travel how to setup
Portable plex media server
How do I access my files on my Shield TV when the internet goes down?
I'm done with Plex
Wenn der Bagger spontan das Internetkabel kappt... wie gucken wir weiterhin Filme mit Plex?
Läuft plex auch wenn Plex down ist
Roku Plex offline mode
Revisiting a problem involving plexamp and windows 10
I can not use my ANDROID and OS devices without internet on PLEX media server
Do devices have to be connected to Internet to log in and use locally
Using Plex offline?!?
Plex Media Server localhost saying plex.tv cannot be reached
How to watch movies when internet is down
Allowed without auth
Plex not streaming when internet or Plex (plex.tv/plex.direct) servers connectivity issue
Internal Network Access
Nvidia Shield TV Pro - PMS will not work with attached HDD offline
Es necesario el uso de internet en una red local?
Why will not Plex work on tv without internet
Laptop as plex media server in minivan for movies - multiple kids
Plex Media Server in Remote location
Проблема с воспроизведением
LG TV Connecting Remotely to Local Network Server
Leave Plex Home with Admin Account not possible
Can't use Plex when internet is down even after making the recommended changes
Local clients not finding server unless internet is up
Local clients not finding server unless internet is up
Is there any way to run Plex server+clients completely offline in my home network?
Support offline plex media server
Reinstalled windows 10 fresh and I am now locked out of my server
Is there an alternative to Plex? Lost remote access
How do i force Plex to work when internet is Offline
No broadband no access to local plex?
No access to plex.tv, and running plex server off the grid
Does Plex Server on local machine (Intel Macbook) require internet?
Even After Secure connections Disabled, No Internet = No Plex (Localhost)
Can not access local server when internet down but local net fine
Why it should be this complicated to access your own server?
Cannot connect to my local server without internet access
Replacement for Plex that runs offline
Internet outage Plex app won't launch on NVidia Shield **RANT** and a question
No access to Plex from Plex server
Im Lan keine stabile Verbindung
Offline - no internet connection
Is this for real?
Why do I need Internet to watch movies on my home LAN?
Allow localhost to play when no internet
Pro Week ‘25: Fireside in the Forum AMA
Plex app on Roku TV no longer allows local LAN connections to local server
Vodafone UK down - can I get my Plex TV app to run locally?

I don’t have linux and not likely to try this how-to but it looks like you put a lot of work into it. I hope this will benefit many people to come! Good job!

1 Like

Thank You! I’m more than willing to add different environment instructions if provided by other users.

Great job… Thanks a lot.

Do you have windows instructions?

Best regards
Jóhannes

1 Like

hello, THANK YOU! and your welcome.

I don’t YET. but if you can access the server settings from a webbrowser the configuration should be the same under Network section above.

I’ll see about setting up a windows box soon and attempt it so i can add to the tutorial if nobody provides them.

1 Like

Thanks for the instructions. They work on Windows as well.

How can I avoid this problem that you mentioned:

“Many users nowadays fiddle with their browser settings, so everything is cleaned out when the browser is closed.
While that is in general a good idea, it does make life complicated for a Plex web app user: it will invalidate the login session to plex.tv and therefore to one’s plex account.
Not only does one have to re-login to plex.tv, the next time the browser is opened – logging-in is impossible if the internet is out!
This alone covers about 50% of all user’s ‘offline’ issues I reckon.”

Depends on the browser.
For Chrome, it is under
Settings - ‘Advanced’ - Privacy & Security - Content Settings - Cookies

  • ‘Allow sites to save and read cookie data’ = ON
  • ‘Keep local data only until you quit your browser’ ← if this is OFF, you don’t need to read further.
    If this is ON, you need to add under ‘Allow’ the domain names plex.tv, app.plex.tv, and the local/private IP of your plex server

In Firefox I actually needed to use an add-on named ‘Cookie Auto-Delete’ to achieve what I wanted (delete all the cookies by default, but keep a defined list)

2 Likes

Is it possible to have authentication still on ? I dont want my tv to have access to my account directly

If you have no internet there will be no authentication.

Dammn,If i dont put local ips that dont need authentication and only put ip and subnet which is to be considered local, will that work if I dont have internet access.

I am trying this with a Roku Express and so far it isnt working.
I have seen people who say the Roku needs internet for ads, and others who say it works fine.

Really dont know if there is a solid answer on this.

What I am not sure about, is if the wireless connection says connected when the Roku doesnt find internet. I can get on the Wifi, but then you need to stay connected.

Anyone gone this far into the offline rabbit hole with Roku?

Ok, so I have an update to this.
The Roku Express is not connecting to the network.
It connects, then looks for internet - when it doesnt find the internet, it stops and doesnt stay connected to the wifi.
I thought the roku would be an easy solution because it is compact and has a simple remote (this is for some older people who are not computer literate), but I need another option.
Thinking about a chromcast with the remote maybe?

1 Like

If you have the Roku connect one time I believe it’ll connect even without internet after that.

I think disabling network pings would help too.

1 Like

Hi there, I am so confused about setting this up using the Android TV app to access local files from the server installed on my laptop. I’ve found that if I lose internet I can usually watch whatever was playing right through to the end. But, if I try to go forward or backward within what’s playing, or try to play something new, it won’t work. Is that what is meant by “cached connections”?

The Chromecast with Google TV works great.
I have replaced my firesticks & Roku with them.
They work well without the internet if setup right.

It’s actually the device I’ve had the least trouble with in that regard, PS4, XBox One, PS3, Roku, Firestick, Vizio TV, Samsung TV, LG TV, One of the game consoles was the easiest for No Internet, I don’t remember which, but had other issues that I’ve dealt with, The Chromecast has been universally easy, everything is easier with it, & it has just run smoothly for everything

Thanks Lost
My problem seems to be keeping the chromcast connected to the WiFi.
It doesn’t like to stay connected and then looses the plex server. It might just be the cheapo WiFi router that I grabbed, not sure.
Of course I have someone using it that can’t do things like reconnect it.
I am thinking of trying a hard Ethernet connection…. I saw some that you can buy for chromcast with google tv.

Chad

Just know that any USB-C ones will work. it might be cheaper to get a USB powered hub & a USB Ethernet port.

But the Chromecast shouldn’t have trouble staying connected. That’s odd. Unlike the Firestick & Roku you can have multiple networks saved & if one has no connection it will switch to another so if the internet goes out & you have the Network SSID of a different network that you have connected to before that might be causing your issue. I personally have not had a problem like that so I cannot say for certain. I do know that when we have had the internet out I’ve never had it disconnect. I’m even able to connect it to a network that currently doesn’t have internet, something that the Roku refuses to do & the firestick you have to do a whole workaround to get it to not disconnect if there is no internet.

One thing that I don’t think is ideal, but maybe you could give a try, most routers have a Guest Network or Multiple SSID option. If you set a 2nd SSID up & put both in the Chromecast maybe it’ll stay connected? My thought is that if it’s trying to connect to another network & failing maybe it’s staying on that one instead of the other. It’s unlikely but possible

For me I believe tethering a great option for authorizing your Plex connection.

  1. Create a hotspot with your Mobile phone
  2. Make sure your Plex Clients and Server are on the same network

Authorization occurs and you can have Plex on your Big Screen TV. Yes it’s WiFi but a great work around with a land based Internet outage. Have used this method now a few times and it works perfectly with a good WiFi network.

So the problem with the Wifi seems to be connecting when you dont have internet.
You can go through the steps, connect, and when it checks for internet - it gives you a message and wont let you continue. You have to “back out” of the steps instead of finishing the connection… it seems to stay connected, but only for a bit and then has issues.
Quite frustrating…
The location where I set it up doesnt have internet, so I cant even just use that to try it.
I had it working at my house, but I was able to do it using an internet connection.
I am hoping the hardwire will just automatically take care of the IP and keep the chromcast hooked up.

Lost, there is a setting that says “automatically connect” - its a radio toggle or something (I am not in front of it at the moment). Because I cannot complete the internet connection, I cannot turn that option on to have it automatically connect.

I think that was the other thing…