Most people attempting to enable Remote Access for their Plex Media Server shouldn't run into issues. However, if you do encounter trouble, this page should help provide troubleshooting information to assist you in resolving the issue.
Related Page: Enabling Remote Access for a Server
If you receive a Not available outside your network error, there are several things you can check.
Some are a little complex and if you have trouble understanding things, please visit the Plex Forums where staff and friendly community members can assist.
Related Page: Plex Support Forums
Not available outside your network
Enabling Remote Access to connect your Server with plex.tv works best with modern routers that support uPnP or NAT-PMP auto-configuration. These allow an application like Plex Media Server to automatically configure a port-forward on the router without you needing to do anything. Not all routers have these protocols, and some have implementations that don't work so well. If enabling Remote Access fails:
- Find your router's user manual or on-line documentation
- Check whether your router supports UPnP or NAT-PMP
- If they do, you may need to switch the feature on in the router's software
- If the services are enabled, try toggling them off and then back on again and try to connect the Server once more
- If your computer has a firewall, proxy, ad-blocking software, anti-virus software, or similar installed, try temporarily disabling them and then attempt to connect the Server again
Sometimes, older routers offer UPnP support that may not work with new applications. If you cannot get the router to automatically configure the port-forward, you can seek help from the manufacturer or other forums. There may be upgraded firmware that fixes the issue.
If disabling the firewall allows successful publishing, you need to add the Plex Media Server to the firewall's allowed list. Consult the firewall's user manual.
If you exhaust all possibilities, you will need to set up a manual port-forward.
Related Page: Plex Support Forums
Related Page: What network ports do I need to allow through my firewall?
NAT (Network Address Translation) allows sharing a single internet connection with many computers. This will virtually always be used for home internet connections. Routers/modems that allow multiple computers to be connected–either over ethernet or WiFi–will use NAT to do this sharing.
"Double-NAT" is when you have 2 devices on the network, both handling NAT services in two levels. For example, you might have a WiFi router plugged into a modem from your internet service provider. Double-NAT will interfere with the Server attempting to create automatic connections.
First, you'll need to look in the settings for the router to which your Server computer is connected (so, from the previous example, you'd be looking at your WiFi router's settings and not the service provider's modem settings). Find your router's WAN/Internet/External IP address. This is usually found on a "status" page in the router settings.
Second, visit a site such as WhatIsMyIP.com and note the IP address shown there.
- If the two IP addresses match, you are not in a Double-NAT situation
- If the two IP addresses do not match, then you probably are in a Double-NAT situation
In Double-NAT situations, one of the devices can often be set to Bridge Mode so only one router is providing NAT services. Alternatively, it might be possible to set up a port forward (see below) on all NAT devices so that the network requests are correctly sent through. Possible things to try:
- The best solution here is usually to contact your internet service provider and ask them to assist you with setting their modem/router to Bridge Mode.
- You can try putting your own router in to Bridge Mode and let your service provider's modem/router handle NAT.
- You can try to set up a port forward in the service provider's modem/router (in addition to your own). The process is similar, except that you're using your router's WAN/Internet/External IP address where you would otherwise enter the local IP address. (See below for information about port forwarding.)
If you're using "jumbo frames" for traffic outside your local network, you will likely encounter issues with enabling Remote Access. In technical terms, a "jumbo frame" is when you have your computer/network set to use a MTU size greater than 1500 bytes.
Jumbo frames (MTU over 1500) are almost never enabled by default. When enabled, it's typically done through the network configuration on the computer itself. If you're experiencing issues and have jumbo frames enabled, you should try disabling them and switching back to standard 1500 MTU sizes. A search engine such as Google will usually be handy in this situation as specifics can vary greatly from one computer to another.
Two of the other common symptoms caused by jumbo frames being enabled is
- Your server showing as remote access successfully set up with a green checkmark but still not working
- Only being able to share one or only some of your libraries
Manual Port Forwarding
Manual Port Forward for a Single Server
If the Plex Media Server cannot configure the router automatically, it may simply be that the router doesn't support auto-configuration, or the support is flawed. In this case, a manual port-forward can be configured. This is not an inferior configuration, and is usually not hard to do. To configure the manual port-forward:
Make Sure your Server's Local IP Address is Static
In order to forward a port, you need to know to where you want it forwarded. In this case, that means you need to know the local IP address of the computer running your Plex Media Server.
Naturally, you don't want that local IP address to change, so you'll need to be sure that the computer always uses the same local IP address. The two general approaches are:
Reserve the IP in your Router
You can set up your router so that it will always assign the same IP address to the computer when it connects. This is generally the more elegant solution. Specific instructions are beyond the scope of what we can provide as they will vary depending on your particular router and situation.
Assign a Static IP on the Computer
Alternatively, on the computer running the Server, you can choose to manually assign your network information rather than let it be automatically configured. You can consult your Operating System help or various websites for details on how to do so. Some quick resources that may help:
Related Page: PortForward.com: Setting a Static IP
Related Page: How to Assign a Static IP Address in Windows
Related Page: How to Assign a Static IP Address in OS X
Related Page: How to Assign a Static IP Address in Ubuntu
Forward the Port in the Router
In order to forward a port for Plex Media Server, you'll need three main pieces of information:
- WAN/External Port: Port 32400 (TCP) is default, but you can generally use any available port in the 20,000 to 50,000 range.
- LAN/Internal Port: This will always be 32400.
- IP Address: The local IP Address of the computer running the Plex Media Server. This is what you did above.
Important: While you can choose any valid WAN/external port number you desire, the mapping for the LAN/internal port must always be 32400 (TCP).
Tip!: Remember that we're talking about forwarding ports for app access here. This is not the same thing as enabling remote management of your router itself.
You want to map the WAN/External Port (TCP) you choose so that it points to LAN/Internal Port 32400 (TCP) for the Server's local IP address. Consult your router's manual for instructions on how to forward a port. There are also numerous online resources you can use.
Warning: The PortForward.com website may offer to sell you an application. It is not necessary. Simply close the offer and you can continue on to the instructions.
You can test your manual port forward by visiting CanYouSeeMe.org and entering the WAN/External port you chose earlier.
Manual Port Forwards for Multiple Servers
If you have more than one Plex Media Server to connect, you will need to choose a unique external port number for each one. To do this:
- Choose a different unique port number for each of your Plex Media Servers
- Remember, you must use a different WAN/external port for each Server connection you want to have here. For instance, you could use ports 32401, 32402, etc.
- Forward that unique external port number to LAN/internal port 32400 for the local IP address of the corresponding computer running that Plex Media Server - follow the previous instructions
For example, imagine you have two computers running Plex Media Servers and their internal IP addresses are "192.168.1.11" and "192.168.1.22". In that situation, you might set up forwards such as:
Server 1 IP Address: 192.168.1.11 WAN/External Port: 32401 LAN/Internal Port: 32400 Server 2 IP Address: 192.168.1.22 WAN/External Port: 32402 LAN/Internal Port: 32400
Set the Plex Media Server to use the Port
Once you've set up the port forward in your router, you'll need to tell your Plex Media Server to use it. To do so:
- Open Plex Web App and make sure you're signed in to your Plex Account on the server under Settings > Server > General (if more than one Server is present on the network, select the Server in which you're interested by using the dropdown on the left)
- Go to Settings > Server > Remote Access
- If needed, toggle the Show Advanced button to ensure the appropriate options are visible
- Enable the Manually specify port checkbox
- Enter the WAN/External Port you previously set up into the box
Use the Retry or Apply button
Important: If you do not enable the Manually specify port checkbox, your Server will not use the specified port.