# few errors when I have vpn enabled

**URL:** <https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723>\
**Category:** Apps & Creations\
**Created:** [July 3, 2013, 8:35am UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723 "2013-07-03T08:35:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nekiw](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@nekiw](https://forums.plex.tv/u/nekiw)\
**Post date:** [July 3, 2013, 8:35am UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/1 "2013-07-03T08:35:12Z")

</div>

Hey

&nbsp;

first of all, I browsed / search the forum quite some times now but I cant seem to figure this one out.

this is my log if it makes sense to any of you guys.

&nbsp;

10:35:20 PlexConnect: started: 10:35:20

10:35:20 PlexConnect: \*\*\*

10:35:20 PlexConnect: PlexConnect

10:35:20 PlexConnect: Press ENTER to shut down.

10:35:20 PlexConnect: \*\*\*

10:35:20 PlexConnect: IP\_self: 10.4.48.218

10:35:20 PlexConnect: started: 10:35:20

10:35:20 DNSServer: started: 10:35:20

10:35:20 DNSServer: \*\*\*

10:35:20 DNSServer: Starting up.

10:35:20 DNSServer: intercept trailers.apple.com: 10.4.48.218

10:35:20 DNSServer: forward other to higher level DNS: 8.8.8.8

10:35:20 DNSServer: \*\*\*

10:35:20 WebServer: started: 10:35:20

10:35:20 WebServer: \*\*\*

10:35:20 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.

10:35:20 WebServer: \*\*\*

10:35:20 PlexGDM: \*\*\*

10:35:20 PlexGDM: looking up Plex Media Server

10:35:20 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 "/Users/yesme/Desktop/PlexConnect-XML\_templates/WebServer.py", line 191, in Run

&nbsp; &nbsp; XMLConverter.discoverPMS()

&nbsp; File "/Users/yesme/Desktop/PlexConnect-XML\_templates/XMLConverter.py", line 211, in discoverPMS

&nbsp; &nbsp; if PlexGDM.Run()\>0:

&nbsp; File "/Users/yesme/Desktop/PlexConnect-XML\_templates/PlexGDM.py", line 59, in Run

&nbsp; &nbsp; GDM.sendto(Msg\_PlexGDM, (IP\_PlexGDM, Port\_PlexGDM))

error: [Errno 49] Can't assign requested address

10:35:20 PlexConnect: WebServer not alive. Shutting down.

10:35:25 DNSServer: Shutting down.

&nbsp;

&nbsp;

If I disable VPN, it works perfect like this.

&nbsp;

10:28:16 PlexConnect: started: 10:28:16

10:28:16 PlexConnect: \*\*\*

10:28:16 PlexConnect: PlexConnect

10:28:16 PlexConnect: Press ENTER to shut down.

10:28:16 PlexConnect: \*\*\*

10:28:16 PlexConnect: IP\_self: 10.0.0.87

10:28:16 PlexConnect: started: 10:28:16

10:28:16 DNSServer: started: 10:28:16

10:28:16 DNSServer: \*\*\*

10:28:16 DNSServer: Starting up.

10:28:16 DNSServer: intercept trailers.apple.com: 10.0.0.87 (dns I have put in ATV, I realized this one is different when I have enabled VPN, but I tried mess with settings.cfg without any luck, It seems like whatever I try edit the changes doesnt apply.).

10:28:16 DNSServer: forward other to higher level DNS: 8.8.8.8

10:28:16 DNSServer: \*\*\*

10:28:16 WebServer: started: 10:28:16

10:28:46 WebServer: \*\*\*

10:28:46 WebServer: WebServer: Serving HTTP on 0.0.0.0 port 80.

10:28:46 WebServer: \*\*\*

10:28:46 PlexGDM: \*\*\*

10:28:46 PlexGDM: looking up Plex Media Server

10:28:46 PlexGDM: \*\*\*

10:28:47 PlexGDM: servers discovered: 1

10:28:47 XMLConverter: PlexGDM - PMS: 10.0.0.87:32400

&nbsp;

&nbsp;

Im obviously not to much of a plex wiz yet, but hopefully there is someone who can help me out, thanks in advance...

---

<div class="post-metadata">

**Author:** ![berylium](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@berylium](https://forums.plex.tv/u/berylium)\
**Post date:** [July 3, 2013, 2:19pm UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/2 "2013-07-03T14:19:45Z")

</div>

nekiw,

I have the same problem. &nbsp;I also feel like I've read on this forum people troubleshooting the issue but in a couple quick glances I didn't see anything. &nbsp;I'm far from an expert but I suspect the issue has to do with PlexConnect's DNS server and/or web server being confused by the VPN altering your private IP to something public.

My way around the issue is to start PlexConnect&nbsp;_before_ I start my VPN. &nbsp;Without the VPN running, as you note, PlexConnect runs fine. &nbsp;Then, once PlexConnect is running, you can connect your VPN and PlexConnect should continue to run properly.

---

<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:** [July 3, 2013, 2:33pm UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/3 "2013-07-03T14:33:26Z")

</div>

It may well be the routing getting messed up but if you are using a VPN to get round geoblocking is there any reason you cannot switch to a DNS based service instead (these work fine with PlexConnect)?

---

<div class="post-metadata">

**Author:** ![biggerhead](https://avatars.discourse-cdn.com/v4/letter/b/4491bb/32.png) [@biggerhead](https://forums.plex.tv/u/biggerhead)\
**Post date:** [July 7, 2013, 6:02pm UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/4 "2013-07-07T18:02:10Z")

</div>

I have the same problem. When using the VPN the script uses the VPN ip address instead of the host machine. There doesn't seem to be a way to configure this in the settings file.

---

<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:** [July 7, 2013, 6:57pm UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/5 "2013-07-07T18:57:17Z")

</div>

It is not a supported configuration.  
  
Why do you need to run a VPN?

---

<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:39pm UTC](https://forums.plex.tv/t/few-errors-when-i-have-vpn-enabled/37723/6 "2019-12-20T23:39:29Z")

</div>

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