# Please help - Can't get PlexConnect to work

**URL:** <https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706>\
**Category:** Apps & Creations\
**Created:** [May 6, 2014, 12:04pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706 "2014-05-06T12:04:05Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 6, 2014, 12:04pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/1 "2014-05-06T12:04:05Z")

</div>

This is my last resort. I can no longer connect to Plexconnect through my 2nd Gen ATV (Software 6.0). I would really appreciate any help as I was using it a lot when it was working.

&nbsp;

Quick run down - it was running on and off and by that i mean it would run then a day or two later I would get the accessing trailers page and it wouldnt connect. To fix this I just rebooted my Mac Mini (where PMS is) and it would fix it.

&nbsp;

My router had issues and I had a temporary router and in this time my PlexConnect worked flawlessly.

&nbsp;

But now my original router is back and I can't get it to work even when i reboot my Mac Mini. I keep getting this error:

&nbsp;

21:52:19 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use  
21:52:19 PlexConnect: DNSServer not alive. Shutting down.  
21:52:19 PlexConnect: Shutting down.

&nbsp;

I am willing to send logs, do anything to get this working as I use PlexConnect every night.

&nbsp;

I have reinstalled the plex folder on my server, re done the certificates on my ATV and MM. I'm just really confused why it worked on my temporary modem and then not at all on my new one.

&nbsp;

&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:** [May 6, 2014, 12:23pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/2 "2014-05-06T12:23:12Z")

</div>

\>\>21:52:19 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use

Your Mac Mini seems to have another DNSServer running already. Figure out what it is (Internet Sharing, ...), "lsof" might help doing so, close that task and you should be fine.

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 6, 2014, 12:48pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/3 "2014-05-06T12:48:23Z")

</div>

Internet sharing is off and I ran lsof and could not see anything else.  
  
  
I’m happy to share the lsof results. Maybe I’m missing something?

---

<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:** [May 6, 2014, 3:29pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/4 "2014-05-06T15:29:09Z")

</div>

Well, there must be something sitting on port 53. Maybe an "old" instance of PlexConnect?

Find it on your side or post the lsof results, yes...

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 6, 2014, 10:51pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/5 "2014-05-06T22:51:16Z")

</div>

I think you may be right in that its an old instance of plex conenct. the thing is I have no idea what to do to fix it. I have added a log of my lsof - hope it helps.

---

<div class="post-metadata">

**Author:** ![moody\_blue](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/moody_blue/32/7835_2.png) [@moody\_blue](https://forums.plex.tv/u/moody_blue)\
**Post date:** [May 7, 2014, 9:14am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/6 "2014-05-07T09:14:27Z")

</div>

> My router had issues and I had a temporary router and in this time my PlexConnect worked flawlessly.
> 
> But now my original router is back and I can't get it to work even when i reboot my Mac Mini. I keep getting this error:

Do you have a dns / dnsmasq service active in your router ?

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 9:58am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/7 "2014-05-07T09:58:17Z")

</div>

i have DNS proxy enabled - is that what you mean?

I have a Billion / Bipac 7800VDPX router if that helps.

---

<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:** [May 7, 2014, 10:35am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/8 "2014-05-07T10:35:40Z")

</div>

> I think you may be right in that its an old instance of plex conenct. the thing is I have no idea what to do to fix it. I have added a log of my lsof - hope it helps.

Reboot the Mac?

Did you install it as "launchctl daemon"? "sudo launchctl unload...".

"ps -ef" to show the active processes... followed by a "kill -9 "?

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 10:56am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/9 "2014-05-07T10:56:01Z")

</div>

I rebooted my Mac Mini and ran the ps -ef. I got these results:

UID&nbsp;&nbsp; PID&nbsp; PPID&nbsp;&nbsp; C STIME&nbsp;&nbsp; TTY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIME CMD

&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 62&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp; 0&nbsp; 8:40pm ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.02 /bin/bash /Applications/PlexConnect-master/support/OSX/PlexConnect.bash

&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 94&nbsp;&nbsp;&nbsp; 62&nbsp;&nbsp; 0&nbsp; 8:41pm ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.14 python ./PlexConnect.py

&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 138&nbsp;&nbsp;&nbsp; 94&nbsp;&nbsp; 0&nbsp; 8:41pm ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.02 python ./PlexConnect.py  
&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 139&nbsp;&nbsp;&nbsp; 94&nbsp;&nbsp; 0&nbsp; 8:41pm ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.09 python ./PlexConnect.py  
&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 140&nbsp;&nbsp;&nbsp; 94&nbsp;&nbsp; 0&nbsp; 8:41pm ??&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00.09 python ./PlexConnect.py

Should i be killing these? And is the PID the ID i use to kill?

Appreciate all the help btw - really desperate to get PC working again.

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 11:11am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/10 "2014-05-07T11:11:27Z")

</div>

ok so some progress - i killed the daemon and the processes and then run plexconnect.py

this is the result. it just fails at the end and doesn't discover the server at the end as it used to...any ideas?

21:06:04 PlexConnect: \*\*\*  
21:06:04 PlexConnect: PlexConnect  
21:06:04 PlexConnect: Press CTRL-C to shut down.  
21:06:04 PlexConnect: \*\*\*  
21:06:04 PlexConnect: started: 21:06:04  
21:06:04 PlexConnect: Version: 0.3.1+  
21:06:04 PlexConnect: Python: 2.7.2 (default, Oct 11 2012, 20:14:37)  
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]  
21:06:04 PlexConnect: Host OS: darwin  
21:06:04 PlexConnect: IP\_self: 192.168.1.200  
21:06:04 DNSServer: started: 21:06:04  
21:06:04 DNSServer: \*\*\*  
21:06:04 DNSServer: DNSServer: Serving DNS on 192.168.1.200 port 53.  
21:06:04 DNSServer: intercept: ['trailers.apple.com'] =\> 192.168.1.200  
21:06:04 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] =\> 127.0.0.1  
21:06:04 DNSServer: forward other to higher level DNS: 8.8.8.8  
21:06:04 DNSServer: \*\*\*  
21:06:04 WebServer: started: 21:06:04  
21:06:04 WebServer: \*\*\*  
21:06:04 WebServer: WebServer: Serving HTTP on 192.168.1.200 port 80.  
21:06:04 WebServer: \*\*\*  
21:06:04 WebServer: started: 21:06:04  
21:06:04 WebServer: \*\*\*  
21:06:04 WebServer: WebServer: Serving HTTPS on 192.168.1.200 port 443.  
21:06:04 WebServer: \*\*\*  
&nbsp;

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 11:34am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/11 "2014-05-07T11:34:20Z")

</div>

and here are my details as per board support request:

- ATVGEN2  
- ATV DNS - 192.168.1.200  
- ATV IP - 192.168.1.225  
- Mac Mini 10.8.5  
- PMS Version 0.9.9.7.429-f80a8d6  
- PMS IP - 192.168.1.200  
- Plexconnect version - reinstalled yesterday so guessing latest.  
- setting.cfg file:  
  
[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 = .  
&nbsp;

I can post a log if needed.

---

<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:** [May 7, 2014, 11:43am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/12 "2014-05-07T11:43:47Z")

</div>

The discovery of the server was moved a while ago, it only does the discover when you go to the trailers app on the ATV.

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 11:57am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/13 "2014-05-07T11:57:34Z")

</div>

ah ok - when i go to open trailers on ATV it says thats its unavailable and all these entries appear on terminal on my Mac Mini:

DNS request received!  
21:47:00 DNSServer: Source: ('192.168.1.225', 49964)  
21:47:00 DNSServer: Domain: trailers.apple.com  
21:47:00 DNSServer: \*\*\*intercept request  
21:47:00 DNSServer: -\> DNS response: 192.168.1.200  
21:47:01 DNSServer: DNS request received!  
21:47:01 DNSServer: Source: ('192.168.1.225', 49803)  
21:47:01 DNSServer: Domain: trailers.apple.com  
21:47:01 DNSServer: \*\*\*intercept request  
21:47:01 DNSServer: -\> DNS response: 192.168.1.200  
21:47:44 DNSServer: DNS request received!  
21:47:44 DNSServer: Source: ('192.168.1.225', 64942)  
21:47:44 DNSServer: Domain: cl2.apple.com  
21:47:44 DNSServer: \*\*\*forward request  
21:47:45 DNSServer: -\> DNS response from higher level  
21:47:45 DNSServer: DNS request received!  
21:47:45 DNSServer: Source: ('192.168.1.225', 64558)  
21:47:45 DNSServer: Domain: e2842.e9.akamaiedge.net  
21:47:45 DNSServer: \*\*\*forward request  
21:47:45 DNSServer: -\> DNS response from higher level  
21:47:45 DNSServer: DNS request received!  
21:47:45 DNSServer: Source: ('192.168.1.225', 50275)  
21:47:45 DNSServer: Domain: init.itunes.apple.com  
21:47:45 DNSServer: \*\*\*forward request  
21:47:45 DNSServer: -\> DNS response from higher level  
&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:** [May 7, 2014, 12:21pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/14 "2014-05-07T12:21:39Z")

</div>

Certificates?

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 12:40pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/15 "2014-05-07T12:40:57Z")

</div>

> Certificates?

I think that was the problem. I had the 3 certs in the right folder on my mac mini and installed the trailers.cer on the ATV but I did it through the config utitlity through USB as i couldnt get it to install over internet. I just retried installing the profile thorugh [http://trailers.apple.com/trailer.cer](http://trailers.apple.com/trailer.cer) and it worked now for some reason.

It's now working and I'm so happy. Can now watch Plex in bed again! Thanks for all your help guys. Just hope it doesn't die again on me.

---

<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:** [May 7, 2014, 12:42pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/16 "2014-05-07T12:42:00Z")

</div>

Glad it’s working

---

<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:** [May 7, 2014, 12:43pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/17 "2014-05-07T12:43:45Z")

</div>

Just beware that do you don’t remove the auto bash script stuff you might have issues on a reboot. But maybe it’s bests to try and get that working so on a reboot everything will auto start

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [May 7, 2014, 10:47pm UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/18 "2014-05-07T22:47:39Z")

</div>

> Just beware that do you don't remove the auto bash script stuff you might have issues on a reboot. But maybe it's bests to try and get that working so on a reboot everything will auto start

I tried running the uninstall command but im not sure if it worked (sudo ./uninstall.bash). Anyways for the time being im happy to manually start plexconnect every time i reboot as I rarely reboot the MM.

---

<div class="post-metadata">

**Author:** ![robbiey](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@robbiey](https://forums.plex.tv/u/robbiey)\
**Post date:** [June 11, 2014, 5:18am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/19 "2014-06-11T05:18:39Z")

</div>

Sorry to ressurrect an old thread but I am continuing to have more issues with my Plexconnect. I even went out and bought Chromecast to have as a backup in my bedroom but I still want to have Plexconnect running on my apple tv as I prefer it to CC.

The issue I have is that after a day or two of using Plexconnect, I end up getting the Accessing trailers message and it just times out. When I look at terminal on my mac mini I can see that there are normally 3 or 4 instances of PlexConnect.py running, and I fix the issue by sudo killing the 3 processes and restarting PlexConnect.py in terminal. this fixes Plexconnect on the ATV.

Is there a reason why this happens? Is there some sort of best practice to using plexconnect (ie. exiting the trailers app when you are finished watching something)? It's not the end of the world but its a touch annoying and I'd love to get a fix for it.

---

<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:** [June 11, 2014, 10:10am UTC](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706/20 "2014-06-11T10:10:01Z")

</div>

Multiple copies of plexconnect.py sounds like you have something auto starting the process even if the old process is still running.

[Next page](https://forums.plex.tv/t/please-help-cant-get-plexconnect-to-work/65706.md?page=2)
