# AppleTV / Plexconnect issue

**URL:** <https://forums.plex.tv/t/appletv-plexconnect-issue/80716>\
**Category:** Apps & Creations\
**Created:** [October 23, 2014, 8:59pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716 "2014-10-23T20:59:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 23, 2014, 8:59pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/1 "2014-10-23T20:59:21Z")

</div>

I am posting on behalf of my father and brother who are trying to get Plexconnect working between a Plex Server running on a Macbook and Plexconnect running on Apple TV. The following is therefore all remote from me so relayed by email / phone calls but as the more "IT literate" member of the family I have been asked to post the following:

&nbsp;

Apple TV is set up according to:

&nbsp;

[https://github.com/iBaa/PlexConnect/wiki/Install-Guide](https://github.com/iBaa/PlexConnect/wiki/Install-Guide)

&nbsp;

PlexServer is running on a Macbook (10.9.5) which is setup with a Static IP of 192.168.0.7 from the home DHCP pool (Sky Broadband DSL router)

&nbsp;

Issues as follows:

&nbsp;

1. When you try to view movies from the &nbsp;PlexServer (via the Trailers Avatar) the error message seen on Apple TV is:

&nbsp;

trailers is unavailable please try later

&nbsp;

2. When you try to view movies from the Macbook the error message attached is shown

&nbsp;

This corresponds to:

&nbsp;

[https://github.com/iBaa/PlexConnect/wiki/Troubleshooting](https://github.com/iBaa/PlexConnect/wiki/Troubleshooting)

&nbsp;

Appreciate ideas as to what to try next ?

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [October 23, 2014, 9:32pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/2 "2014-10-23T21:32:59Z")

</div>

In the pic attached it stats the error is that Port 53 is already in use, you/they need to identify what is using that port.

and if it is plexconnect.py (As the image sort of suggested they they have plexconnect running twice, so reboot and then run the sudo lsof -i :53 | grep LISTEN command again and see what it says, Before starting plexconnect)

also make sure they check the certificate is loaded on the ATV.

Next time you post please provide all the information requested in the pinned "READ BEFORE POSTING" thread, specifically the section on how to report an Issue this has a template of questions, which includes a log file, the image you posted is of the command window which is not the same as the log file.

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 26, 2014, 4:08pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/3 "2014-10-26T16:08:01Z")

</div>

Apologies - I posted the first query in a hurry and had not realised the protocol !

My brother has just collected this output:

- Your ATV model (2 or 3) and firmware version (found under the ATV settings \> general \> about \> Apple TV software): Model MC572B/A and firmware 6.2.1
- The DNS server set on the ATV (found under the ATV settings \> general \> network \> DNS):192.168.0.7
- The local IP address of the device that PlexConnect is installed on:192.168.0.7
- The device and operating system (including version number) that PlexConnect is installed on: MacBook Pro OSX Ver 10.9.5
- The device and operating system (including version number) that the Plex media server (PMS) is installed on: MacBook Pro OSX Ver 10.9.5
- The Plex media server (PMS) version number you are running ( **do not put 'latest'** ): Ver 0.9.11.1
- The local IP address of the device that the Plex media server (PMS) is installed on: 192.168.0.7
- The PlexConnect version number. If using Github source then a time and date of download (look at the creation date of the folder) and if you are using any non-standard setup e.g. Plexify or a fork. 23rd October 2014
- The contents of your 'Settings.cfg' file (this is created at first clean shutdown of PlexConnect, using CTR+c)[PlexConnect]
- enable\_plexgdm = True
- ip\_pms = 192.168.178.10
- port\_pms = 32400
- enable\_dnsserver = True
- port\_dnsserver = 53
- ip\_dnsmaster = 8.8.8.8
- prevent\_atv\_update = True
- enable\_plexconnect\_autodetect = True
- ip\_plexconnect = 0.0.0.0
- hosttointercept = trailers.apple.com
- port\_webserver = 80
- enable\_webserver\_ssl = True
- port\_ssl = 443
- certfile = ./assets/certificates/trailers.pem
- loglevel = Normal
- logpath = .
- **Detail on the media file if it is an issue related to playing a media file** (in order to get the necessary information on a particular media file go into the Plex web interface, select the video file, when it brings up the page for the media file click on the "i" information button on the left hand side, it will then bring up a "media info" box, click on the "View XML" button, it will then open a browser window with the relevant information, copy this to[http://www.pastebin.com](http://www.pastebin.com/) and use the pastebin link to post the details; posting the information directly in the forum may mess up the formatting and generally takes up a lot of space):
- A **detailed description of the issue** (the clearer you can make this the better):&nbsp;
- Ensure you post your **'PlexConnect.log'** file to pastebin and post the link ('PlexConnect.log' is located in your PlexConnect folder). If possible, follow these steps to create a "more detailed fresh" one:

Plexconnect.log:

15:24:54 PlexConnect: started: 15:24:54

15:24:54 PlexConnect: Version: 0.4-dev

15:24:54 PlexConnect: Python: 2.7.5 (default, Mar&nbsp; 9 2014, 22:15:05)&nbsp;

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

15:24:54 PlexConnect: Host OS: darwin

15:24:54 PlexConnect: IP\_self: 192.168.0.7

15:24:54 DNSServer: started: 15:24:54

15:24:54 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use

15:24:54 PlexConnect: DNSServer not alive. Shutting down.

15:24:54 PlexConnect: Shutting down.

15:24:54 PlexConnect: shutdown

15:24:54 PlexConnect: shutdown

&nbsp;

Last login: Sun Oct 26 15:45:21 on console

macbook-pro:~ gema$ sudo lsof -i :53 | grep LISTEN

Password:

macbook-pro:~ gema$&nbsp;

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [October 26, 2014, 6:10pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/4 "2014-10-26T18:10:23Z")

</div>

\>\>sudo lsof -i :53 | grep LISTEN

Where does the "| grep LISTEN" come from? Check the output without that&nbsp;filtering...

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 26, 2014, 7:47pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/5 "2014-10-26T19:47:43Z")

</div>

Thanks for the reply....was asked for the&nbsp;| grep LISTEN by drewbie&nbsp;

Will check without that and reply&nbsp;

---

<div class="post-metadata">

**Author:** ![drewbie](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/drewbie/32/6262_2.png) [@drewbie](https://forums.plex.tv/u/drewbie)\
**Post date:** [October 27, 2014, 12:16am UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/6 "2014-10-27T00:16:51Z")

</div>

I got it from the fist image posted, as that was showing the command and the output. (Not being an apple person I was not sure of the actual command)

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 29, 2014, 4:21pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/7 "2014-10-29T16:21:44Z")

</div>

Here is the output

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [October 29, 2014, 4:43pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/8 "2014-10-29T16:43:28Z")

</div>

You can kill that process to get PlexConnect working but it will respawn, which is a good thing as it is needed for a few critical things.

Any Epson printers on that home network?

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 29, 2014, 5:01pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/9 "2014-10-29T17:01:00Z")

</div>

The PID you are suggesting to kill is 41 I assume ? Am checking on the EPSON printer question&nbsp;

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [October 29, 2014, 5:30pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/10 "2014-10-29T17:30:21Z")

</div>

Yes, although just realised Python is using it as well.

Try rebooting the machine and running the command again to see if Python still shows up as well (maybe rogue auto starting process in launch daemons that is causing the conflict).

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 29, 2014, 5:37pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/11 "2014-10-29T17:37:38Z")

</div>

The printer is HP....will ask for the reboot&nbsp;

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 30, 2014, 9:48am UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/12 "2014-10-30T09:48:39Z")

</div>

Here is what we got after a reboot:

&nbsp;

macbook-pro:~ gema$ sudo lsof -i :53

COMMAND &nbsp; PID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; USER &nbsp; FD &nbsp; TYPE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; DEVICE SIZE/OFF NODE NAME

mDNSRespo&nbsp; 41 \_mdnsresponder &nbsp; 29u&nbsp; IPv6 0xe8e0da599832d087&nbsp; &nbsp; &nbsp; 0t0&nbsp; UDP \*:domain

mDNSRespo&nbsp; 41 \_mdnsresponder &nbsp; 30u&nbsp; IPv4 0xe8e0da59987f3ce7&nbsp; &nbsp; &nbsp; 0t0&nbsp; TCP \*:domain (LISTEN)

mDNSRespo&nbsp; 41 \_mdnsresponder &nbsp; 31u&nbsp; IPv6 0xe8e0da599686225f&nbsp; &nbsp; &nbsp; 0t0&nbsp; TCP \*:domain (LISTEN)

Python&nbsp; &nbsp; 204 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; root&nbsp; &nbsp; 4u&nbsp; IPv4 0xe8e0da599834f517&nbsp; &nbsp; &nbsp; 0t0&nbsp; UDP macbook-pro:domain

macbook-pro:~ gema$&nbsp;

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [October 30, 2014, 11:16am UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/13 "2014-10-30T11:16:09Z")

</div>

As there is still an instance of Python running without you manually starting PlexConnect i think you need to find out what that is first (maybe a leftover launch daemon plist from trying to install it?).

What files are in&nbsp;/Library/LaunchDaemons on the Macbook?

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 31, 2014, 5:22pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/14 "2014-10-31T17:22:37Z")

</div>

Last login: Thu Oct 30 09:30:43 on ttys000

macbook-pro:~ gema$ cd /Library/LaunchDaemons

macbook-pro:LaunchDaemons gema$&nbsp;

macbook-pro:LaunchDaemons gema$ ls

com.adobe.fpsaud.plist

com.logmein.logmeinblanker.plist

com.logmein.logmeinserver.plist

com.logmein.raupdate.plist

com.microsoft.office.licensing.helper.plist

com.plex.plexconnect.bash.plist

com.trusteer.rooks.rooksd.plist

macbook-pro:LaunchDaemons gema$&nbsp;

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [October 31, 2014, 7:35pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/15 "2014-10-31T19:35:02Z")

</div>

\>\>com.plex.plexconnect.bash.plist

You got PlexConnect already installed as "daemon"...

It should as well create a PlexConnect.log. Check that for any remaining issues - or de-install that daemon

```
sudo launchctl unload /Library/LaunchDaemons/com.plex.plexconnect.bash.plist
```

and do the manual way

```
sudo ./PlexConnect.py
```

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [October 31, 2014, 10:17pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/16 "2014-10-31T22:17:26Z")

</div>

Baa - to be sure I understand you suggest to

1. Unload the plist from the LaunchDaemons and then

2. Manually start the Plexconnect.py

and then try again ? Do you want to see the output of&nbsp;lsof -i :53 as well or do you believe that this should fix issues ?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [October 31, 2014, 10:36pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/17 "2014-10-31T22:36:37Z")

</div>

It should fix the particular problem you are seeing and allow us to see if it should be working.

Currently you go to start PlexConnect manually but it fails because you have PlexConnect running already as a daemon, which is hogging port 53, so it shuts down. If you remove this daemon then we can see what is happening and once it is working we get the autostart working so you don't have to touch again unless you want to update it.

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [November 1, 2014, 7:46am UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/18 "2014-11-01T07:46:32Z")

</div>

...plus mDNSResponder might be related to "internet sharing".

---

<div class="post-metadata">

**Author:** ![bluemoon222](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bluemoon222](https://forums.plex.tv/u/bluemoon222)\
**Post date:** [November 1, 2014, 7:22pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/19 "2014-11-01T19:22:19Z")

</div>

mDNS is certainly Bonjour - are you asking me to take any action there as well ?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [November 1, 2014, 7:34pm UTC](https://forums.plex.tv/t/appletv-plexconnect-issue/80716/20 "2014-11-01T19:34:00Z")

</div>

mDNS can be triggered by a bunch of things but shouldn't **usually** hog the port, i asked about the Epsom stuff because it has known bad behaviour relating to mDNS.

Just take action on the PlexConnect plist, start PlexConnect manually and we can see if there are any further errors and where we go from there.

[Next page](https://forums.plex.tv/t/appletv-plexconnect-issue/80716.md?page=2)
