Our forum migration to Discourse is underway and scheduled to last through June 21. During the migration, the forums will be read-only, except for a single temporary forum (contents of which will not be getting transferred). Read our announcement post for more information about the forum migration.
Hey folks, there is a new Podcast category for forums https://forums.plex.tv/categories/podcasts
If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Enable server support for ipv6 causes ipv4 to break.

aim4minaim4min Members, Plex Pass Posts: 7 Plex Pass

My plex recently stopped responding web requests. It took me a long time, but I finally figured it out. It was hard to diagnose, since the plex server process was running, but the web server wasn't responding. When I did telnet localhost 32400 it worked, which was puzzling.

Anyways, I finally realized that I had recently enabled (and forgot that I did) the IPV6 support. I recently got native ipv6 support from my ISP and wanted to try it out. It looks like when you enable IPV6 you also DISABLE ipv4. This was causing all sorts of trouble for me.

root@plexmediaserver_1:/var/db/plexdata/Plex Media Server/Logs # sockstat -l | grep 32400
plex     Plex Media 80560 55 tcp6   *:32400    

My freenas jail isn't actually configured for IPV6, so this is where problems started.

I think you need to always allow IPV4, and make this IPV6 an additional port that is being listened on. OR, you should have 2 checkboxes, one for each network.

Anyways, I finally figure it out, and I'm good now. Just posting here to express a configuration problem that was tough to diagnose in the hopes that it may help someone else, or maybe the plex devs can make it easier to avoid this problem with server setup improvements.



  • simonbh@gmail.comsimonbh@gmail.com Members, Plex Pass Posts: 1 Plex Pass

    How were you able to recover? I am having the exact same issue.

  • ps0psps0ps Members, Plex Pass Posts: 37 Plex Pass

    the problem is ipv6 sockets can only talk speak ipv6 and not v4mapped
    sysctl net.inet6.ip6.v6only=0

  • paradoxhubparadoxhub Members, Plex Pass Posts: 93 Plex Pass

    I enabled ipv6 and can't access my server now too (also in a freenas jail), how can I revert this / what config file can I manually edit to turn ipv6 off?

  • gbooker02gbooker02 Members, Plex Employee, Plex Pass, Plex Ninja Posts: 696 Plex Employee
  • charles.waitecharles.waite Members, Plex Pass Posts: 1 Plex Pass
    edited March 12

    Just wanted to bump this, thanks for the solution. This is a stupid option to have hanging out in settings without any warning about it breaking all ipv4 functionality. Just spent the past 45 minutes furiously googling
    after accidentally rendering my server useless only to eventually find this and solve the issue. Good lord...

Sign In or Register to comment.