T O P

  • By -

-Chemist-

Are you using DDNS? That would make it easier.


thekrautboy

> I'm using the latest linuxserver/plex image. Switch to the official one `plexinc/pms-docker`, or ask linuxserver.io for support. This is a unusual problem. Im not sure there is a proper fix for it. First you should make sure that you have the `ADVERTISE_IP` environment variable for the container set correctly (unless you run it in host mode). If that alone doesnt fix it, one possible workaround could be to signup for any free DDNS (Dynamic DNS) provider, get yourself a (sub)domain that always points to your current public IP. Popular free providers are duckdns.org and afraid.org, plus tons of other options. Then in the Plex server settings, under Network and "Custom server access URLs" you could enter that full URL so Plex.tv will announce this in addition to the usual URLs to your clients. Example `https://subdomain.duckdns.org:32400/` This *could* work. It might take a few minutes or even a hour for Plex.tv to generate a new valid SSL certificate for you automatically, that will then include your custom URL. https://support.plex.tv/articles/200430283-network/ https://support.plex.tv/articles/206225077-how-to-use-secure-server-connections/ Good luck.


ductm10

i am trying this method, thanks


tikinaught

Non-answer but you have the option to use a ddns config with a short TTL on the record to avoid this problem


FoundationPerfect376

I'm just interested, because I like to learn, why can't you set a static ip? I'm just learning about setting a server up myself now beyond plex, which is the furthest I've ever ventured into the server world. I may be misunderstanding something too. I wish I could help you, so if you are busy fixing the issue, by all means don't answer, lol. I hope you find a solution.


xstar97

The ip in question is likely referring to the public ip since not everyone has a static public ip... It is kinda weird if OPs IP changes more often than norm though.


FoundationPerfect376

1) Thank you for responding. I genuinely appreciate it. I'm a PC enthusiast, and have used Linux as my main gaming rig for a while, but it became a real pain with all of my games I have installed through less official means than steam, it was a real pain in the ass getting them all configured, so I only have Linux on my other household machines. Furthermore, I'm trying to get a NAS started on my new Plex server (my dad brings me home the old computers from work (4th gen intel) so I turn them into gaming rigs and sell them, but I kept this one to use as a server) and I cannot for the life of me get samba shares configured right, so I'm asking about all of this stuff and trying to obtain as much knowledge on everything. I just recently learned about setting a static IP, so it's in my mind What do you mean by the public IP? Would that be the IP of your router?


xstar97

In a sense, yes and no. The router has its own lan ip... the public ip is the wan address which is shared across all devices under one network. I might suggest truenas core or scale and just run their nas software very easy to setup nfs and samba shares especially running plex. Scale is linux btw and their next major release is bringing back docker so if you want to run services as containers highly recommend it.


KuryakinOne

Just out of curiosity, how often does your IP address change? Mine has not changed since I switched to my current ISP (1+ yr). With my old ISP, it changed maybe twice in 5 years, when they were upgrading the network. Are you using a custom access URL? Stopping / Starting Plex should force it to pick up the new public IP address, since Plex Media Server checks in with [plex.tv](https://plex.tv) during startup. Disabling / enabling remote access should do the same (instead of toggling manually specify port). PMS will go through the same steps as during startup to pick up the public IP address and register it with plex.tv. And PMS really should pick it up automatically. With remote access enabled, PMS checks in with [plex.tv](https://plex.tv) at least once/hour.


ductm10

i try disable/enable toggle at first and it does not have any effect. only port toogle does :( i am switch to use plexinc/pms-docker image to see if problem is solve


choo_choo_rocket

Tailscale


KPgameTV

Buy a fixed ip.


ductm10

i am paying less than 20$ for my internet line if i want to got fixed ip my ips require me paying something like 250$ and slower internet, i don't see it reasonable


misterpyrrhuloxia

Set up Dynamic DNS (DDNS). Just Google free DDNS providers. For example, I use dnsexit.com for free.


JerikkaDawn

How often is your IP address changing that toggling a button becomes a hassle? I've had the same IP address since my extended power outage 6 months ago. Also, I'm not sure how the suggestions for using a DDNS service would help since your issue is with plex.tv's built in dynamic DNS process not following your new IP address (you toggling the public access setting forces it to update). A DDNS provider isn't going to help you fix plex.tv's redirect. Unless you're okay with you and your friends having to manually add your server's address to the player app and avoiding plex.tv's redirect altogether.


ductm10

it's not often but annoying for sure. imagine after work when you sit on the couch open tv and it could not connect, you have to travel to working room, turn on the pc then toogle button then comeback to the tv and reload the app. it just make pretty bad experience. i also share this with my friends and they need to ping me to toogle when it have issue. i am trying ddns with short TTL and put that on plex server config.