[Tutorial] Running PlexConnect and Webserver side by side on OS X

Hey everyone,


I tried running PlexConnect and a WebServer both on the same Machine (MacMini, OS X 10.7.5 Server) without any luck because both were listening to Port 80. But… I found a way. An easy way:

0. JUST TO BE SAFE

0.0 Be sure to save your trailers.cer, trailers.perm and trailers.key to some location safe. You will need them later!

1. REINSTALL PLEXCONNECT

1.1 (just to make sure everything is fresh) Delete your copy of PlexConnect.

1.2 Download a new copy of PlexConnect and copy your trailers.cer, trailers.key and trailers.perm into “assets/certificates”.

1.3 Run PlexConnect once to create all the files including “Settings.cfg”.

1.4 Quit PlexConnect by pressing ctrl + c.

2. CREATING A NEW NETWORK PORT

2.1 Go to: System Preferences > Network and add a new connection.

2.2 If your primary Network connection is WiFi, choose WiFi. If it is Ethernet, choose Ethernet.

2.3 From the right side choose “DHCP with manual address”.

2.4 Enter a IP address for your network (I set mine to 192.168.1.99).

2.5 Apply.


Now you have got a second network adapter (and IP) that will be serving as DNS for your AppleTV.

3. LETS MAKE PLEXCONNECT WORKING

As your Computer now has two IP addresses we will have to tell PlexConnect wich one to listen to:

3.1 Open “Settings.cfg” from your PlexConnect folder and edit the following:

ip_plexconnect = 192.168.1.99 [font=arial](same IP as above)[/font]

[font=arial][font='courier new']enable_plexconnect_autodetect = False [font=arial](disables automatic IP detection of your PlexConnect-Webserver)[/font][/font][/font]

[font=arial][font='courier new'][font=arial]Save.[/font][/font][/font]

[font=arial][font='courier new'][font=arial]3.2 Start PlexConnect, it should display:[/font][/font][/font]

PlexConnect: IP_self (from settings): 192.168.1.99

(...)

DNSServer: DNSServer: Serving DNS on 192.168.1.99 port 53.

(...)

WebServer: WebServer: Serving HTTP on 192.168.1.99 port 80.

(...)

WebServer: WebServer: Serving HTTPS on 192.168.1.99 port 443.


4. LAST BUT NOT LEAST: APPLE TV DNS
4.1 On your AppleTV go to Settings > General > Network > WiFi > Your WiFi > DNS
4.2 Set the DNS Server to [font='courier new']192.168.1.99 (or what ever you chose)[/font]
4.3 Go back to the main Screen and try to run "trailers.app"

That's it.

If you have any questions I will be happy to help you out altho I don't know very much about all this stuf. It was just an idea that came to mind and worked out ;)

Have fun.

Thanks. I was able to get the Plex to work with the Apple TV. However, I am having a problem with the sound playing. Any ideas?

I don't think, that sound-related issues are connected to changing the IP. If something is not working the way it should you can always start over with your "standard" IP and then change it later on Apple TV and "Settings.cfg".

Let me know what happens. Cheers

Seriously, this was by far the best and easiest solution to this problem I've seen. I am running OS X Server 10.10.3 and using DNS Server and Web Server, I was trying to get them to play nice with PlexConnect and struggling — your solution bypassed the conflict altogether. Brilliant!

I’m glad I could help!

Wow this is so smart. I never though of it. I to like sevdestruct have 10.10.3 and Server App running on my MacMini. It's setup to run DNS as well. I will try this out and report back on the results. Thanks lucasgasenzer.

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