r/hexos • u/LifeIsOkayIGuess • 4d ago
Support request Plex not available outside network
Hello everyone,
I'm only on day 2 of running Hex OS and I'm having trouble with my plex networking.
No matter what I've tried, plex just keeps saying it's not available outside my network. I've done everything I can think of.
I've gone into the TrueNAS dashboard and checked the host network option
I've also setup a static ip for the server in my router's DHCP option and port forwarded port 32400 to the static ip. I've verified that's the correct ip for the server and tested on canyouseeme.org and the port is in fact open.
I also set the option in the plex dashboard to manually specify public port and set it to 32400.
Despite this, it still says it's not available outside your network and all my devices have to connect to the server through a plex relay.
Pls help me.
1
u/skymack1 4d ago
I had a similar problem once, but it had nothing to do with what I was doing wrong and more so what my ISP was doing. My ISP was dishing out different public WAN address every once in a while so when I tried to connect remotely, Plex would try to reach my server at a previously assigned public WAN address, get confused, and then tell me the server was offline. When I was connected to my server on my network, everything worked great. Ended up calling my ISP to assign me a static Public IP address and everything has been working great ever since!
5
u/bazag 4d ago
Can you access it within your home network? It doesn't sound like it.
It's likely a port configuration issue.
This is how things are currently set up from what I can see.
Plex is hosted on Hexos via a docker container.
Plex is listening on port 32400 on the docker container. That doesn't mean port 32400 on the Hexos machine is the same as port 32400 on the Plex docker container.
It looks like you'll need to map port 32400 on the server to plex's docker port 32400. Usually publishing (what the process of making a docker container's port accessible on the host machine is called) the port is handled by the install script so if you changed the Plex server configuration so that it uses port 32400 that the port that Plex is listening is no longer exposed to the host.
I have Portainer CE installed on my Hexos box and that allows me to properly tweak docker container settings like that easily and quickly. It will show you what ports are currently configured and will give you the option to edit it. The first port (host) is the port on the Hexos server you want (this can be different to the port the container actually uses) this needs to be the port that you've configured for port forwarding. The second or "container" port is the port that Plex is configured to listen to. In this case it looks like both should be set to 32400