PmsService
PmsService copied to clipboard
Unable to connect to service.
I never could get Plex to start automatically even when logging in, so I installed Plex Service Tray. It has been working wonderfully for years, but now it's "unable to connect to service." The settings are Address: localhost and port: 32400. When double clicking the tray icon, I receive the error message "localhost refused to connect" in Chrome.
After manually starting the Plex Server, then double clicking the icon does open Plex. Right clicking the Service Tray icon, still shows "unable to connect to service" even when Plex is running.
Any ideas on how to fix?
Oops, I just realized I have an old version. Slightly embarrassed! Installed newest release and rebooted. I'm able to access my Plex library now.
But, it still says 'unable to connect to service' and the only options are connection settings, about, & exit.
Check your firewall.
Plex DLNA, Media Server, Scripting Host, & Tuner Service are all allowed. Is there something else that I should check?
Are you running Plex and the service on the same machine?
On Tue, Jan 29, 2019, 10:50 PM knoxbear <[email protected] wrote:
Plex DLNA, Media Server, Scripting Host, & Tuner Service are all allowed. Is there something else that I should check?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cjmurph/PmsService/issues/39#issuecomment-458811090, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgCQvdc7UC4ZjVBMpUsCLUG8v0clHL4ks5vISSdgaJpZM4aYE9G .
Yes, same machine.
The service and the tray app will need exclusions, or, you can add a rule for the port they use
If they are the same machine and you specified localhost, then I wouldn't think the firewall would be blocking you. Do you have any A/V software? If so try disabling it.
On Wed, Jan 30, 2019 at 10:02 PM cjmurph [email protected] wrote:
The service and the tray app will need exclusions, or, you can add a rule for the port they use
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cjmurph/PmsService/issues/39#issuecomment-459206770, or mute the thread https://github.com/notifications/unsubscribe-auth/ABgCQvDBoDUkpzLGxIbkKN5Y5Wo9oqfDks5vImrDgaJpZM4aYE9G .
Disabled Avira Free and it didn't seem to make a difference.
And you can verify that the Plex server is listening on port 32400 within Windows?
Resource Monitor shows Plex Media Server.exe listening to port 32400
I get this from time to time myself.
The service and tray work fine for ages, then suddenly the tray can no longer connect to the service, but plex itself is still accessible.
A reboot of the server resolves the issue.
Logging doesn't highlight any issue, so not sure what causes the bahaviour?
So i run into this a few times a month as well,
I kill all services, delete the Plex Service folder in Appdata\local
restart the service and all is well again. until it happens again.
So i run into this a few times a month as well,
I kill all services, delete the Plex Service folder in Appdata\local
restart the service and all is well again. until it happens again.
Came here to say that this fixed the issue for me, all I had to do was stop the "PlexService" service then delete the Appdata folder as mentioned by @goldenpipes.
Reading back through this I think there's some confusion around the ports and what it is you are specifying. The tray app talks to the service on it's own port. it's not the same port that plex itself is using, in fact, it can't be. The default port for the tray application and the service communication is 8787. I made it configurable in case it was already in use, but really, it shouldn't ever need to be changed. This has no bearing on the port plex itself is using.
Reading back through this I think there's some confusion around the ports and what it is you are specifying. The tray app talks to the service on it's own port. it's not the same port that plex itself is using, in fact, it can't be. The default port for the tray application and the service communication is 8787. I made it configurable in case it was already in use, but really, it shouldn't ever need to be changed. This has no bearing on the port plex itself is using.
Thank you! This was bogging me and confusion in which port to enter in the setting was the culprit. Setting it to 8787 solved the issue!