Running with local DNS server and IIS

Hello.

Make sure to install:

URL Rewrite module

Application Request Routing

  1. Create a new site with the binding on "trailers.apple.com" (http://grab.by/o7cy)bbd87c0d7a2339f64b04c4b90805a8d579c9afc6
  2. Go to the URL Rewrite module (http://grab.by/o7ck)bbd87c0d7a37657493296297f72886d0f592afb1
  3. Add rules (http://grab.by/o7cCbbd87c0d7a07a22a8da1f95e8111fc6544925006
  4. Choose Reverse Proxy (http://grab.by/o7cMbbd87c0d7a22e9a79e66181e5a46a69a98d54b59
  5. enter http://{YOURIP GOES HERE}:9999/ and press ok (http://grab.by/o7dobbd87c0d7a79c56a81b135e442faff3ee9d30e6f
  6. it will now look something like this: http://grab.by/o7ds - bbd87c0d7ab4930621f5da5c292ebed19d793124
  7. Now go to the base folder for the site and open web.config.
  8. In the file you see this: http://grab.by/o7dM (you just added it with the gui) bbd87c0d7a3d47cf63c47663546a4880976605c9
  9. Now add:
   
   
 
It will look like this:
bbd87c0d7a2199510c472d6f25bda4eb091ea8e5

Also seen here: http://grab.by/o7eo

You're now ready to go! :) (hope alle the links work!)

Thanks worked great.

Glad i could help. :slight_smile:

Hitting Error 10013 when running PlexConnect.py.

 

"WebServer : Failed to connect to port 80 (http): [Errno (sic) 10013] An attempt was made to access a socket in a way forbidden by its access permissions"

Hitting Error 10013 when running PlexConnect.py.
 
"WebServer : Failed to connect to port 80 (http): [Errno (sic) 10013] An attempt was made to access a socket in a way forbidden by its access permissions"


http://forums.plexapp.com/index.php/topic/70891-error-10013-while-trying-to-access-socket-80/?hl=10013
<?xml version="1.0" encoding="UTF-8"?>


    
    
  
    
        
		
			
				
					
				
			
		
            
                
                    
                    
                
            
        
    

Here's a copy of my web.config.  Mine was missing the so I had to type it in manually.  Thought this might help someone else.

OK, I managed to get this working and it is AWESOME.  Thank you so much for the help.

Nevermind think I got it now.

I pressume the setting for the port is now in the Settings.py and not the webserver.py?

Or should I change it in the settings.cfg instead when this is generated?

/Danny

Nevermind think I got it now.

I pressume the setting for the port is now in the Settings.py and not the webserver.py?

Or should I change it in the settings.cfg instead when this is generated?

/Danny

Settings.cfg is the only file that should be edited by the user, all other files may be overwritten by updates.

Anyone know of a way to get this working with the new SSL setup?

I’ve just created a certificate with CA for trailers.apple.com and hooked it up to an extra SSL-vhost in Apache. Then added a ProxyPass to the SSL-part that proxies everything to the non-ssl-part of plexconnect and disable the ssl-part in plexconnect by commenting it out. And the final step was to add the created CA to my AppleTV. Works like a charm!!

I've just created a certificate with CA for trailers.apple.com and hooked it up to an extra SSL-vhost in Apache. Then added a ProxyPass to the SSL-part that proxies everything to the non-ssl-part of plexconnect and disable the ssl-part in plexconnect by commenting it out. And the final step was to add the created CA to my AppleTV. Works like a charm!!


Ok, that sounds awesome. Did you manage to get it working with IIS?

I’m on Ubuntu so no. But creating an SSL website in IIS should be easy enough right? The rest is the same as the http variant.

I'm on Ubuntu so no. But creating an SSL website in IIS should be easy enough right? The rest is the same as the http variant.

Probably true, I'll have to look into it.  I'm not an IIS expert but I might be able to figure it out.

How do I change the web.config file.  Im going to to the root of the site in IIS but cant seem to figure out how to edit the file.

Thanks

Settings.cfg has a setting to turn the SSL off so you do not need to hack the code :wink:

Im pretty new to this. could you tell me how to find setting.cfg?  Im using windows home server 2011 if that makes a diffence.

Thanks

Settings.cfg is in the Plexconnect folder, wherever you put that.

Ok thanks was looking over server files.

So i need to make the SSL false.  then follow the rest of this guide?  

I have it running and it says its serving and the python script runs while it try trailers but will just hang and never get past the loading trailers.

I have this running on another pc and it works fine.  when i shut that one down and try the server it all runs the same just no trailers on ATV.

Sorry if you all have answered these questions already I have been searching and trying for a few days with no luck.

ok not sure if this is the answer, but to get it to work I stoped the server in lls, then started plexconnect. then renabled the server it all works great.  thanks for all the help guys!

Eric