QNAP NAS Plex not listening on 32400 after re-installation

Server Version#: 1.16 & 1.18

This is puzzling. I have here a QNAP TS-563 that has been running Plex happily for a couple of years. A few days back I did a factory reset and rebuilt it, and now Plex has gone all sulky and deaf.

The package installs and runs successfully, but I get no socket created on port 32400, so I cannot load the admin web page to set it up.

I’ve tried v1.16 from the QNAP store, and v1.18 downloaded from this site, with the same result. I’ve combed through the log files and can’t see any really obvious failures, in fact at one point the package is communicating with itself on 32400 happily, but that port doesn’t stay open long enough for me to connect to it.

Any ideas where to go next for diagnosing the problem? I’m happy to poke around at the command line on the QNAP, and can upload any logs anyone wants to look at.

Just for fun, I tried installing Plex on the little backup TS-431P NAS that is right next door to the TS-563, both physically and logically, and it worked fine first time. But I don’t want to run Plex on that box, it’s there purely to receive backup copies of my data overnight.

That would be step 1

OK, I’ve uploaded them now.

Plex DLNA Server.log (9.3 KB) Plex Media Server.log (350.2 KB) Plex Tuner Service.log (2.8 KB)

According to PMS log, all is fine…

From a terminal, type: ps aux|grep Plex and show the output

Also netstat -na | grep "32400"

Ah, that’s interesting, Plex has bound itself to IPv6 exclusively. Give me a second, I’ll try disabling IPv6 on the NAS.

[~] # ps aux|grep Plex
4050 admin 56800 S ./Plex Media Server
4477 admin 49600 S N Plex Plug-in [com.plexapp.system] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/System.bundle
4886 admin 14368 S /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Tuner Service /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Private /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Tuner/Shared 1.16.6.1592-b9d49bdb7 32600 /waitmutex
4888 admin 22444 S /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex DLNA Server
4919 admin 32736 S Plex Plug-in [com.plexapp.agents.plexthememusic] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/PlexThemeMusic.bundle
4920 admin 42364 S Plex Plug-in [com.plexapp.agents.thetvdb] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/TheTVDB.bundle
5290 admin 37160 S Plex Plug-in [com.plexapp.agents.plexmusic] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/PlexMusic.bundle
5501 admin 39976 S Plex Plug-in [com.plexapp.agents.themoviedb] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/TheMovieDB.bundle
5813 admin 34860 S Plex Plug-in [com.plexapp.agents.opensubtitles] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/OpenSubtitles.bundle
6172 admin 43532 S Plex Plug-in [com.plexapp.agents.imdb] /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.16.6.1592-b9d49bdb7 /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-b9d49bdb7/PlexMovie.bundle
25072 admin 948 S grep Plex
[~] # netstat -na|grep “32400”
tcp 0 0 :::32400 :::* LISTEN
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:26160 TIME_WAIT
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:2538 TIME_WAIT
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:9829 TIME_WAIT
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:1718 TIME_WAIT
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:8482 TIME_WAIT
tcp 0 0 ::ffff:192.168.100.21:32400 ::ffff:217.20.23.200:16866 TIME_WAIT

Side note:
Your PMS is getting old :wink:

v1.16.6.1592-b9d49bdb7

Yes, I’ll upgrade it to v1.18 once I have it working. v1.16 is the version currently listed in the QNAP App Centre, and it’s easier just to click on that once I had established that both versions behaved the same.

I’m having trouble disabling IPv6 on the QNAP - it’s disabled on both network interfaces now, yet Plex is still binding to an IPv6 address, somehow. Is there a way to configure Plex to favour IPv4, from the NAS command-line?

/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Preferences.xml

Has a setting that should be: EnableIPv6="0"

After changing, restart PMS

And remember to backup your xml file before editing :wink:

OK, thanks. That’s got it binding to IPv4, but I’m still getting no connection from the browser, which reports that the connection was closed by the NAS box, with no pause. I can see the socket connection is being made, as there are multiple connections in TIME_WAIT state from my PC (192.168.100.61)

[/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server] # netstat -na|grep “32400”|more
tcp 0 0 0.0.0.0:32400 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:32400 127.0.0.1:49010 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:24985 TIME_WAIT
tcp 0 0 127.0.0.1:32400 127.0.0.1:49008 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53700 TIME_WAIT
tcp 0 0 127.0.0.1:32400 127.0.0.1:49006 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:39346 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:50052 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53693 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53692 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:56386 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:37159 TIME_WAIT
tcp 0 0 192.168.100.21:32400 217.20.23.200:23091 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53694 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53699 TIME_WAIT
tcp 0 0 192.168.100.21:32400 192.168.100.61:53695 TIME_WAIT

(I’ve installed v1.18 now, by the way, since we’re making progress.)

Ah, talking of progress - I’m in.

The closed connections were in response to https://192.168.100.21:32400/web, which is the link from the Plex web page. Dropping back to a normal http connection works OK.

Is there a way to enable https on the Plex process?

And now, having completed the setup, https is working, so I think I’m there.

Thanks for all your assistance!

1 Like

See: Qnap faq.....read me first! Q23

1 Like

Fair enough. I don’t recall tripping over that before, but perhaps I did and jut don’t remember it.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.