# Can't get it to work

**URL:** <https://forums.plex.tv/t/cant-get-it-to-work/70420>\
**Category:** Apps & Creations\
**Created:** [July 9, 2014, 6:40am UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420 "2014-07-09T06:40:01Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 6:40am UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/1 "2014-07-09T06:40:01Z")

</div>

After one day of trying and trying, reading thread after thread in several forums, I am close to sell my ATV3 again because I am not able to get PlexConnect to work. I am a really sad panda.

&nbsp;

I could follow every step in the manual and I repeated them several times. All I get is the Failed to connect to HTTP on 192.168.1.44 port 53: [Errno 48] Address already in use

&nbsp;

I changed the Settings.cfg file to use port 80 instead and I get the same error message.

&nbsp;

I am using a new iMac with the latest Mavericks build. I have Dropbox, Transmission, Airmail, Beamer, Firefox, Radium and Little Snitch installed (I have other software but they don't use Internet).

&nbsp;

I use a RT-N16 Router. I have ports 53 and 80 completely open. Ah, and I changed my local IP to a static one.

&nbsp;

What else should I do? Can someone please help me, I really don't have any knowledge to get this to work.

&nbsp;

This is the complete message:

&nbsp;

sudo "/Applications/PlexConnect-master/PlexConnect.py"  
01:10:15 PlexConnect: \*\*\*  
01:10:15 PlexConnect: PlexConnect  
01:10:15 PlexConnect: Press CTRL-C to shut down.  
01:10:15 PlexConnect: \*\*\*  
01:10:15 PlexConnect: started: 01:10:15  
01:10:15 PlexConnect: Version: 0.3.1+  
01:10:15 PlexConnect: Python: 2.7.5 (default, Mar&nbsp; 9 2014, 22:15:05)  
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]  
01:10:15 PlexConnect: Host OS: darwin  
01:10:15 PlexConnect: IP\_self: 192.168.1.44  
01:10:15 DNSServer: started: 01:10:15  
01:10:15 DNSServer: \*\*\*  
01:10:15 DNSServer: DNSServer: Serving DNS on 192.168.1.44 port 54.  
01:10:15 DNSServer: intercept: ['trailers.apple.com'] =\> 192.168.1.44  
01:10:15 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] =\> 127.0.0.1  
01:10:15 DNSServer: forward other to higher level DNS: 8.8.8.8  
01:10:15 DNSServer: \*\*\*  
01:10:15 WebServer: started: 01:10:15  
01:10:15 WebServer: Failed to connect to HTTP on 192.168.1.44 port 80: [Errno 48] Address already in use  
01:10:15 PlexConnect: WebServer not alive. Shutting down.  
01:10:15 PlexConnect: Shutting down.  
01:10:20 DNSServer: Shutting down.  
01:10:20 PlexConnect: shutdown  
01:10:20 PlexConnect: shutdown

---

<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:** [July 9, 2014, 7:14am UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/2 "2014-07-09T07:14:18Z")

</div>

That error is saying that port 53 is in use on the plexconnect machine.

Have you rebooted and tried again?

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 7:27am UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/3 "2014-07-09T07:27:52Z")

</div>

I did just now and it didn't help. Still the same message. :(

Edit:

I tried to find out what is using port 53 and used the following command. Don't know how to read it though.

sudo lsof -i :53  
COMMAND PID USER&nbsp;&nbsp; FD&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEVICE SIZE/OFF NODE NAME  
Python&nbsp; 308 root&nbsp;&nbsp;&nbsp; 4u&nbsp; IPv4 0x72e0d069cb9fb645&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0t0&nbsp; UDP 192.168.1.44:domain  
&nbsp;

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 8:35am UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/4 "2014-07-09T08:35:31Z")

</div>

You need to find out what is using port 53. If you want to debug start removing programs one by one until you find the culprit and check your listen port isnt 53 in your apache2 config in /etc/apache2/httpd.conf. List your current plists in /library/launchdaemons. Can you test with a different os/device to rule out a network issue? If you dont want to troubleshoot reinstall your os.

---

<div class="post-metadata">

**Author:** ![bakman1](https://avatars.discourse-cdn.com/v4/letter/b/c89c15/32.png) [@bakman1](https://forums.plex.tv/u/bakman1)\
**Post date:** [July 9, 2014, 3:24pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/5 "2014-07-09T15:24:16Z")

</div>

01:10:15 DNSServer: DNSServer: Serving DNS on 192.168.1.44 **port 54**.

??

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 4:00pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/6 "2014-07-09T16:00:41Z")

</div>

If you edited your settings.cfg as @bakman1 noticed maybe you should start with a fresh copy of PlexConnect with unedited settings (do not edit settings.cfg). That is for advanced settings typically.

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 4:12pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/7 "2014-07-09T16:12:09Z")

</div>

thanks to all for joining in.

@wahlman.j: I am using a new setting.cfg since yesterday (actually I replaced the entire PlexConnect-master folder).

This is how it looks now:

11:02:47 PlexConnect: \*\*\*  
11:02:47 PlexConnect: PlexConnect  
11:02:47 PlexConnect: Press CTRL-C to shut down.  
11:02:47 PlexConnect: \*\*\*  
11:02:47 PlexConnect: started: 11:02:47  
11:02:47 PlexConnect: Version: 0.3.1+  
11:02:47 PlexConnect: Python: 2.7.5 (default, Mar&nbsp; 9 2014, 22:15:05)  
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]  
11:02:47 PlexConnect: Host OS: darwin  
11:02:47 PlexConnect: IP\_self: 192.168.1.44  
11:02:47 DNSServer: started: 11:02:47  
11:02:47 DNSServer: Failed to create socket on UDP port 53: [Errno 48] Address already in use  
11:02:47 PlexConnect: DNSServer not alive. Shutting down.  
11:02:47 PlexConnect: Shutting down.  
11:02:47 PlexConnect: shutdown  
11:02:47 PlexConnect: shutdown

The problem of port 53 persists.

Regarding your other tips:

- what is apache2 config in /etc/apache2/httpd.conf? Isn't this a server thing? I have Mavericks installed. Not using it as a server. Also, I have this computer since just 3 days. I am using the Mavericks the computer came with.
- LaunchAgents has: com.nvidia.CUDASoftwareUpdate.plist
- LaunchDaemons has: com.adobe.fpsaud.plist, com.apple.aelwriter.plist and com.apple.qmaster.qmasterd.plist

What about the python thing I posted earlier?

@bakman1: Don't know what this is... :( Any thoughts? It doesn't appear anymore...

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 4:55pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/8 "2014-07-09T16:55:43Z")

</div>

Httpd.conf is a websever config file. See if it says listen 53. If not keep digging or refer to my previous post.

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 4:58pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/9 "2014-07-09T16:58:22Z")

</div>

Sorry wahlman.j, I don't know where to find this file... could you give me a hint?

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 5:03pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/10 "2014-07-09T17:03:00Z")

</div>

Using finder goto the top menu bar and choose goto folder in one of the menu dropdowns:  
  
  
/etc  
  
  
Apple likes to hide files. I assume this mac is used.

---

<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:** [July 9, 2014, 5:07pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/11 "2014-07-09T17:07:17Z")

</div>

Well. Someone is sitting on your ports.

Do the lsof thing again, as requested up there.

\>\> sudo lsof -i :53  
\>\> COMMAND PID USER&nbsp;&nbsp; FD&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEVICE SIZE/OFF NODE NAME  
\>\> Python&nbsp; 308 root&nbsp;&nbsp;&nbsp; 4u&nbsp; IPv4 0x72e0d069cb9fb645&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0t0&nbsp; UDP 192.168.1.44:domain

Looks like PlexConnect might already be running on your system, did you install the "daemon" stuff already? At that point you can't run it in a terminal&nbsp;again... But you won't need as everything should be good.

\>\>LaunchDaemons has: com.adobe.fpsaud.plist, com.apple.aelwriter.plist and com.apple.qmaster.qmasterd.plist

Is this the one in /user/library or top level /library?

PlexConnect will live inside the top level... running as root.

Log in as admin, do a&nbsp; **sudo launchctl list | grep plexconnect**. Will it show? Should come up with something like:&nbsp; **66 - com.plex.plexconnect.bash**

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 5:32pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/12 "2014-07-09T17:32:57Z")

</div>

Thanks wahlman.j. The httpd.conf says:

#Listen 12.34.56.78:80  
Listen 1234  
Listen 5050

Port 53 is not part of.

Also, this iMac should be new. At least it was completely sealed. And initially I could set it up as a new computer too. I did add some more memory, Fusion Drive and stronger graphic card, they probably did some test before sending it(?).

@Baa:

Yes, at the beginning, the first time I set PlexConnect up I run the daemon. I then used cd "/Applications/PlexConnect-master/support/OSX”  
sudo ./uninstall.bash to uninstall it. I think there where some plist that I deleted manually...

Yes, the LaunchDaemons is root. Actually the user library doesn't have a LaunchDaemons, only a LaunchAgents. I run the sudo Isof again with port 53:

COMMAND PID USER&nbsp;&nbsp; FD&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEVICE SIZE/OFF NODE NAME  
Python&nbsp; 308 root&nbsp;&nbsp;&nbsp; 4u&nbsp; IPv4 0x72e0d069cb9fb645&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0t0&nbsp; UDP 192.168.1.44:domain

It still appears the same.

I run the sudo launchctl list and yes, it showed up like that:

96&nbsp;&nbsp; &nbsp;-&nbsp;&nbsp; &nbsp;com.plex.plexconnect.bash

What do I do now?

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 5:38pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/13 "2014-07-09T17:38:13Z")

</div>

Unload and remove that file. It should be in /library/launchdaemons or /library/launchagents. Sounds to me that you used OpenConnect or openplex based on your httpd.conf (unrelated I think/hope)  
  
  
Open terminal and type this when you navigate to the folder either:  
  
  
cd /Library/LaunchDaemons  
  
sudo launchctl unload com.plex.plexconnect.bash.plist  
  
sudo rm com.plex.plexconnect.bash.plist  
  
  
Or:  
  
  
cd /Library/LaunchAgents  
  
sudo launchctl unload com.plex.plexconnect.bash.plist  
  
sudo rm com.plex.plexconnect.bash.plist  
  
  
Use finder to find it first.  
  
  
@baa smart use that to find the plist:  
  
  
sudo launchctl list | grep plexconnect 🙂

---

<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:** [July 9, 2014, 5:39pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/14 "2014-07-09T17:39:08Z")

</div>

Well. PlexConnect is running on your machine already.

From my point of view: "Everythign is fine." :-D

What is your issue now?

Did you reboot you machine after deleting those plists? At that point, PlexConnect shouldn't run anymore...

You could also use "sudo kill 96" or something to get rid of it. You might have to kill all the daughter processes as well. So a reboot might be easier.

---

<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:** [July 9, 2014, 5:39pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/15 "2014-07-09T17:39:47Z")

</div>

\>\>&nbsp;Unload and remove that file.

He already did... :-D

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 5:42pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/16 "2014-07-09T17:42:29Z")

</div>

haha yes, I already did. Therefore it says: nothing found to unload.

And yes, I rebooted, but I am not sure if it was before or after deleting the plists... :(

Edit: And yes, I did use OpenConnect first, but didn't understand well how to use it and went the 'manual' way.

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 5:44pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/17 "2014-07-09T17:44:09Z")

</div>

Start plexconnect with just terminal and see if it works now. Drag the plexconnect folder to a terminal window press enter then type this:  
  
  
sudo ./plexconnect.py  
  
  
Openconnect is now OpenPlex by the way. But get this working first then move on to other things if desired.

---

<div class="post-metadata">

**Author:** ![creativeblends](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@creativeblends](https://forums.plex.tv/u/creativeblends)\
**Post date:** [July 9, 2014, 5:45pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/18 "2014-07-09T17:45:52Z")

</div>

Do you mean with sudo /Applications/PlexConnect-master/PlexConnect.py? Because if yes, thats what I am trying all the time and what gives me the error message...

---

<div class="post-metadata">

**Author:** ![wahlman.j](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wahlman.j/32/6441_2.png) [@wahlman.j](https://forums.plex.tv/u/wahlman.j)\
**Post date:** [July 9, 2014, 5:46pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/19 "2014-07-09T17:46:49Z")

</div>

Drag the folder from finder to a terminal window not the file. Well either way should work hopefully now that you cleared your plists.  
  
  
Edit- ya reboot would be a good idea

---

<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:** [July 9, 2014, 5:47pm UTC](https://forums.plex.tv/t/cant-get-it-to-work/70420/20 "2014-07-09T17:47:02Z")

</div>

You got to close the first PlexConnect instance... reboot your system!

[Next page](https://forums.plex.tv/t/cant-get-it-to-work/70420.md?page=2)
