Plex on Windows Server 2012 R2

I'm in the process of migrating my Plex install from my computer to a media server running Win Server 2012 R2.  I had the Essentials Role installed but given it needs port 80 thought this might be an issue so removed.  Also removed the DNS role as this would conflict with PlexConnect.

 

I can see PlexConnect getting DNS requests so that part is working.  But I'm getting the "Trailers unavailable message".

 

I suspect this is the culprit, in my log when loading PlexConnect.

 

 

4:18:37 WebServer: Failed to connect to HTTP on 0.0.0.0 port 80: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions
 
 
I'm guessing other people are running PC on Win2012.  What other changes do I need to make to get it to work?

See the wiki (linked in the sticky) for a link to a great user created thread/guide for those running win server (including using IIS if you want).

If you still need support I would ask in that specific thread.

My gut feel is that this issue is specific to PlexConnect as I can watch Plex movies via my iPhone.  I will look at the Wiki, but if anyone has experience with this config I'd appreciate any help.

Read the wiki, it shows you how to setup a reverse proxy on the IIS instance that you are running :wink:

Okay, read the wiki.  Unfortunately doesn't help as I've removed Apache etc.  I.e. I have no webserver installed on this box.  It's just a Win2012 server without the Essentials role.

It looks like it might be some sort of firewall issue with Windows not allowing the Plexconnect server access to Port 80.

Worked it out - finally.

It's the Windows Remote Management Service.

In case anyone else has this issue, the quickest way to work it out is by using this command:

  net stop http

That will stop services using port 80 and tell you what it's stopped.

Once I did that PlexConnect will start correctly.

Further to the last post.

Also need to disable:

* Print Spooler

* BranchCace

As well as:

* Windows Remote Management.

After some searching gave up and just disabled the services.  All starts fine now!

Good info, i will add it to the wiki port 80 errors when i get a chance  :)

“media server running Win Server 2012 R2”


Did you mean Server 2008 R2? I didn’t know 2012 R2 was out yet.

I'm a technet subscriber.  The pre-release is available there.

More info.  If you simply disable Windows Remote Management you will have issues with configuring the server.  E.g. adding roles etc.

It is better to change the port of WindowsRM via these commands, then restart the WindowsRM service.  Note this is moving it to port 8888.  You can use another port.

winrm set winrm/config/Client/DefaultPorts @{HTTP="8888"}

winrm set winrm/config/Listener?Address=*+Transport=HTTP @{Port="8888"}

After making this change, WRM works correctly, and PlexConnect starts correctly.

Note, I still have disabled the following services:

* BranchCache

* PrinterSpooler

I don't need either of these so probably won't troubleshoot this further.

Further note, I found an issue with a conflict with the internal DNS server on my server. Removing this role also removed access to PC, so instead I simply disabled the service.  Cheating, and probably not what I'd do on a client's server but I only have so many hours to play with this at home :).

PlexConnect allows you to disable its DNS server in settings.cfg if you want to use your own DNS server instead.

Just make sure you set up the necessary redirection for trailers.apple.com :wink:

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