# \[Errno 49\] Can't assign requested address

**URL:** https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586
**Category:** Apps & Creations
**Created:** [August 2, 2013, 1:53am UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586 "2013-08-02T01:53:12Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![stu\_douglas](https://avatars.discourse-cdn.com/v4/letter/s/cc9497/32.png) [@stu\_douglas](https://forums.plex.tv/u/stu_douglas)
#### Post date: [August 2, 2013, 1:53am UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586/1 "2013-08-02T01:53:12Z")

</div>

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:&nbsp;

&nbsp;

&nbsp;

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):

&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in \_bootstrap

&nbsp; File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run

&nbsp; File "/Applications/ Downloaded /PlexConnect/WebServer.py", line 190, in Run

&nbsp; &nbsp; XMLConverter.discoverPMS()

&nbsp; File "/Applications/ Downloaded /PlexConnect/XMLConverter.py", line 217, in discoverPMS

&nbsp; &nbsp; PMS\_list = PlexGDM.Run()

&nbsp; File "/Applications/ Downloaded /PlexConnect/PlexGDM.py", line 61, in Run

&nbsp; &nbsp; 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

&nbsp;

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.&nbsp;

Thanks!

---

<div class="post-metadata">

### Author: ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)
#### Post date: [August 2, 2013, 2:30am UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586/2 "2013-08-02T02:30:31Z")

</div>

What happens if you change the ip\_pms back to the default

---

<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: [August 2, 2013, 6:39pm UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586/3 "2013-08-02T18:39:57Z")

</div>

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

---

<div class="post-metadata">

### Author: ![thegermanguy](https://avatars.discourse-cdn.com/v4/letter/t/5fc32e/32.png) [@thegermanguy](https://forums.plex.tv/u/thegermanguy)
#### Post date: [September 3, 2013, 3:20pm UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586/4 "2013-09-03T15:20:22Z")

</div>

I have the exact same problem.

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

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
```

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [December 20, 2019, 11:49pm UTC](https://forums.plex.tv/t/errno-49-cant-assign-requested-address/39586/5 "2019-12-20T23:49:14Z")

</div>

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