[Errno 49] Can't assign requested address

I have tried many things (disabled firewall, restarted several times, disabled internet sharing etc.) yet still when I run sudo ./PlexConnect.py I get the following: 

 

 

21:44:53 PlexConnect: ***
21:44:53 PlexConnect: PlexConnect
21:44:53 PlexConnect: Press CTRL-C to shut down.
21:44:53 PlexConnect: ***
21:44:53 PlexConnect: started: 21:44:53
21:44:53 PlexConnect: IP_self: 70.50.50.88
21:44:53 DNSServer: started: 21:44:53
21:44:53 DNSServer: ***
21:44:53 DNSServer: Starting up.
21:44:53 DNSServer: intercept trailers.apple.com: 70.50.50.88
21:44:53 DNSServer: forward other to higher level DNS: 8.8.8.8
21:44:53 DNSServer: ***
21:44:53 WebServer: started: 21:44:53
21:44:53 WebServer: ***
21:44:53 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
21:44:53 WebServer: ***
21:44:53 PlexGDM: ***
21:44:53 PlexGDM: looking up Plex Media Server
21:44:53 PlexGDM: ***
Process Process-2:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
  File "/Applications/ Downloaded /PlexConnect/WebServer.py", line 190, in Run
    XMLConverter.discoverPMS()
  File "/Applications/ Downloaded /PlexConnect/XMLConverter.py", line 217, in discoverPMS
    PMS_list = PlexGDM.Run()
  File "/Applications/ Downloaded /PlexConnect/PlexGDM.py", line 61, in Run
    GDM.sendto(Msg_PlexGDM, (IP_PlexGDM, Port_PlexGDM))
error: [Errno 49] Can't assign requested address
21:44:53 PlexConnect: WebServer not alive. Shutting down.
21:44:53 PlexConnect: Shutting down.
21:44:58 DNSServer: Shutting down.
21:44:58 PlexConnect: shutdown
 
Any help would be much appreciated. I'm running Mac OS X 10.8.4, and an Apple TV 2nd generation running 5.2.1. I did change in Settings.py the 'ip_pms' to the IP address of my Mac if that helps. 
Thanks!

What happens if you change the ip_pms back to the default

Yeah do not change the entries in settings.cfg UNLESS you understand what you are doing :wink:

I have the exact same problem.

Yesterday everything ran perfectly. Today, after a reboot, I get that same error message. 

After a fresh install of plexconnect, I still get the same error message. Didn't mess with any config files, nothing.

Headscratching...

EDIT: problem solved by disconnecting my VPN connetion (privateinternetaccess).

NOW I get "Trailer unavailable" without any error message in the terminal.

MacBook-Air:~ sfx$ sudo /Applications/PlexConnect-master/PlexConnect.py
Password:
17:20:01 PlexConnect: ***
17:20:01 PlexConnect: PlexConnect
17:20:01 PlexConnect: Press CTRL-C to shut down.
17:20:01 PlexConnect: ***
17:20:01 PlexConnect: started: 17:20:01
17:20:01 PlexConnect: IP_self: 10.131.1.6
17:20:01 DNSServer: started: 17:20:01
17:20:01 DNSServer: ***
17:20:01 DNSServer: DNSServer: Serving DNS on port 53.
17:20:01 DNSServer: intercept: ['trailers.apple.com', 'atv.plexconnect'] => 10.131.1.6
17:20:01 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] => 127.0.0.1
17:20:01 DNSServer: forward other to higher level DNS: 8.8.8.8
17:20:01 DNSServer: ***
17:20:01 WebServer: started: 17:20:01
17:20:01 WebServer: ***
17:20:01 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.
17:20:01 WebServer: WebServer: Serving HTTPS on 0.0.0.0 port 443.
17:20:01 WebServer: ***
17:20:01 PlexGDM: ***
17:20:01 PlexGDM: looking up Plex Media Server
17:20:01 PlexGDM: ***
Process Process-2:
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
    self._target(*self._args, **self._kwargs)
  File "/Applications/PlexConnect-master/WebServer.py", line 221, in Run
    XMLConverter.discoverPMS()
  File "/Applications/PlexConnect-master/XMLConverter.py", line 221, in discoverPMS
    PMS_list = PlexGDM.Run()
  File "/Applications/PlexConnect-master/PlexGDM.py", line 61, in Run
    GDM.sendto(Msg_PlexGDM, (IP_PlexGDM, Port_PlexGDM))
error: [Errno 49] Can't assign requested address

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