# PlexConnect DNS Issues--Out of Range

**URL:** https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992
**Category:** Apps & Creations
**Created:** [December 3, 2014, 2:18am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992 "2014-12-03T02:18:47Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![jaretw](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jaretw](https://forums.plex.tv/u/jaretw)
#### Post date: [December 3, 2014, 2:18am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/1 "2014-12-03T02:18:47Z")

</div>

My original problem was that I couldn't get plexconnect to see my plex media server, but i uninstalled it and reinstalled it and for some reason, now when i start up plexconnect.py it is generating an IP\_Self IP address that is out of my IP range. I am using an Airport Extreme and the ranges should be 10.0.1.xxx but when I run plexconnect.py, it is giving me an IP address of 10.196.1.6, which isn't working. How can I fix this?&nbsp;

&nbsp;

sudo "/Applications/PlexConnect-master/PlexConnect.py"

20:08:34 PILBackgrounds: No PIL/Pillow installation found.

20:08:34 PlexConnect: \*\*\*

20:08:34 PlexConnect: PlexConnect

20:08:34 PlexConnect: Press CTRL-C to shut down.

20:08:34 PlexConnect: \*\*\*

20:08:34 PlexConnect: started: 20:08:34

20:08:34 PlexConnect: Version: 0.4-dev

20:08:34 PlexConnect: Python: 2.7.5 (default, Mar&nbsp; 9 2014, 22:15:05)&nbsp;

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

20:08:34 PlexConnect: Host OS: darwin

20:08:34 PlexConnect: PILBackgrounds: Is PIL installed? False

20:08:34 PlexConnect: IP\_self: 10.196.1.6

20:08:34 DNSServer: started: 20:08:34

20:08:34 DNSServer: \*\*\*

20:08:34 DNSServer: DNSServer: Serving DNS on 10.196.1.6 port 53.

20:08:34 DNSServer: intercept: ['trailers.apple.com'] =\> 10.196.1.6

20:08:34 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] =\> 127.0.0.1

20:08:34 DNSServer: forward other to higher level DNS: 8.8.8.8

20:08:34 DNSServer: \*\*\*

20:08:34 WebServer: started: 20:08:34

20:08:34 WebServer: started: 20:08:34

20:09:04 WebServer: \*\*\*

20:09:04 WebServer: WebServer: Serving HTTP on 10.196.1.6 port 80.

20:09:04 WebServer: \*\*\*

20:09:04 WebServer: \*\*\*

20:09:04 WebServer: WebServer: Serving HTTPS on 10.196.1.6 port 443.

20:09:04 WebServer: \*\*\*

&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: [December 3, 2014, 2:39am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/2 "2014-12-03T02:39:18Z")

</div>

What’s in your settings.cfg file?

---

<div class="post-metadata">

### Author: ![jaretw](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jaretw](https://forums.plex.tv/u/jaretw)
#### Post date: [December 3, 2014, 2:41am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/3 "2014-12-03T02:41:41Z")

</div>

[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 = .

---

<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: [December 3, 2014, 2:45am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/4 "2014-12-03T02:45:30Z")

</div>

Ok, if you do an ipcofig in the machine (sorry I’m more a windows person so not sure the command in OS X, but I think you can also see it under about this Mac)

---

<div class="post-metadata">

### Author: ![jaretw](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jaretw](https://forums.plex.tv/u/jaretw)
#### Post date: [December 3, 2014, 2:49am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/5 "2014-12-03T02:49:14Z")

</div>

i have a static ip set for the machine as 10.0.1.2

---

<div class="post-metadata">

### Author: ![markuswarren](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/markuswarren/32/4968_2.png) [@markuswarren](https://forums.plex.tv/u/markuswarren)
#### Post date: [December 3, 2014, 2:54am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/6 "2014-12-03T02:54:02Z")

</div>

> Ok, if you do an ipcofig in the machine (sorry I'm more a windows person so not sure the command in OS X, but I think you can also see it under about this Mac)

It'd be ifconfig on a mac to get the network info - that one always gets me when I switch between my mac and windows machines.

As for the problem, I'm going to take a guess it's due to this line in the Settings.cfg:

```
ip_pms = 192.168.178.10
```

That's using the default address that PlexConnect puts in the Settings file. You'd want to set that to be the machine that your Plex Media Server is running on, which I'm going to guess might be the same mac you are running PlexConnect on? If so then edit Settings.cfg and change the value from&nbsp;192.168.178.10 to&nbsp;10.0.1.2. Shutdown PlexConnect and then start it back up, see what it reports back in the logs. If the&nbsp;Plex Media Server&nbsp;isn't on your Mac, change&nbsp;ip\_pms to the IP of whatever Plex Media Server is running on.

---

<div class="post-metadata">

### Author: ![jaretw](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jaretw](https://forums.plex.tv/u/jaretw)
#### Post date: [December 3, 2014, 3:00am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/7 "2014-12-03T03:00:35Z")

</div>

Ok, I tried that, but it keeps changing the IP address (see below, now it is 10.108.1.6) and when i go to add the certificate, it is just stuck at adding profile, which makes me believe that it's not actually "hitting" the DNS server I specified on the appletv:

sudo "/Applications/PlexConnect-master/PlexConnect.py"

Password:

20:52:21 PILBackgrounds: No PIL/Pillow installation found.

20:52:21 PlexConnect: \*\*\*

20:52:21 PlexConnect: PlexConnect

20:52:21 PlexConnect: Press CTRL-C to shut down.

20:52:21 PlexConnect: \*\*\*

20:52:21 PlexConnect: started: 20:52:21

20:52:21 PlexConnect: Version: 0.4-dev

20:52:21 PlexConnect: Python: 2.7.5 (default, Mar&nbsp; 9 2014, 22:15:05)&nbsp;

[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]

20:52:21 PlexConnect: Host OS: darwin

20:52:21 PlexConnect: PILBackgrounds: Is PIL installed? False

20:52:21 PlexConnect: IP\_self: 10.108.1.6

20:52:21 DNSServer: started: 20:52:21

20:52:21 DNSServer: \*\*\*

20:52:21 DNSServer: DNSServer: Serving DNS on 10.108.1.6 port 53.

20:52:21 DNSServer: intercept: ['trailers.apple.com'] =\> 10.108.1.6

20:52:21 DNSServer: restrain: ['mesu.apple.com', 'appldnld.apple.com', 'appldnld.apple.com.edgesuite.net'] =\> 127.0.0.1

20:52:21 DNSServer: forward other to higher level DNS: 8.8.8.8

20:52:21 DNSServer: \*\*\*

20:52:21 WebServer: started: 20:52:21

20:52:22 WebServer: started: 20:52:22

20:52:22 WebServer: \*\*\*

20:52:22 WebServer: \*\*\*

20:52:22 WebServer: WebServer: Serving HTTPS on 10.108.1.6 port 443.

20:52:22 WebServer: WebServer: Serving HTTP on 10.108.1.6 port 80.

20:52:22 WebServer: \*\*\*

20:52:22 WebServer: \*\*\*

---

<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: [December 3, 2014, 3:02am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/8 "2014-12-03T03:02:21Z")

</div>

> It'd be ifconfig on a mac to get the network info - that one always gets me when I switch between my mac and windows machines.  
>   
> As for the problem, I'm going to take a guess it's due to this line in the Settings.cfg:
> 
> ```
> ip_pms = 192.168.178.10
> ```
> That's using the default address that PlexConnect puts in the Settings file. You'd want to set that to be the machine that your Plex Media Server is running on, which I'm going to guess might be the same mac you are running PlexConnect on? If so then edit Settings.cfg and change the value from 192.168.178.10 to 10.0.1.2. Shutdown PlexConnect and then start it back up, see what it reports back in the logs. If the Plex Media Server isn't on your Mac, change ip\_pms to the IP of whatever Plex Media Server is running on.

  
I knew it was close but could not remember the exact difference.  
  
Because plexgdm is true that settings is not used, and does not explain why ip self is returned out of range, I'm guessing something is setting a different up adrress (maybe VMware or ither virtual system or VPN etc)

---

<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: [December 3, 2014, 3:03am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/9 "2014-12-03T03:03:42Z")

</div>

Something is causing your machine to have different ip addresses do you have multiple network cards or a VPN etc

---

<div class="post-metadata">

### Author: ![jaretw](https://avatars.discourse-cdn.com/v4/letter/j/c2a13f/32.png) [@jaretw](https://forums.plex.tv/u/jaretw)
#### Post date: [December 3, 2014, 3:09am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/10 "2014-12-03T03:09:02Z")

</div>

Ahh! ok that worked! I turned off my VPN and it is working perfectly now. So how can I use it with my VPN on?

---

<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: [December 3, 2014, 6:43am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/11 "2014-12-03T06:43:00Z")

</div>

if you define ip\_plexconnect = the actual ip of your Mac and also turn enable\_plexgdm = False (note the capital F). And then set the ip\_pms to the ip of the machine hosting plex media server.  
  
  
As long as your VPN still allows port 80, 443 and 53 to the base IP address then you should be able to use both your VPN and Plexconnect.

---

<div class="post-metadata">

### Author: ![Edwin\_Andino](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/edwin_andino/32/285895_2.png) [@Edwin\_Andino](https://forums.plex.tv/u/Edwin_Andino)
#### Post date: [December 3, 2014, 11:27pm UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/12 "2014-12-03T23:27:54Z")

</div>

Quick question for you, have you reserved IP\_Addresses in your Modem (for example, I use an Apple Airport) for your devices?

---

<div class="post-metadata">

### Author: ![Eligos](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/eligos/32/643_2.png) [@Eligos](https://forums.plex.tv/u/Eligos)
#### Post date: [December 4, 2014, 3:44am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/13 "2014-12-04T03:44:04Z")

</div>

> Ahh! ok that worked! I turned off my VPN and it is working perfectly now. So how can I use it with my VPN on?

Maybe I can help you here.

I also have a VPN that is set to start when the mac boots up. I could not get PlexConnect or OpenPlex to work with the VPN&nbsp;until I modified the Settings.cfg file. Note that&nbsp; **192.168.1.100** is my **static** IP.&nbsp;

Here is what mine looks like:

[PlexConnect]

enable\_plexgdm = False

ip\_pms = 192.168.1.100

port\_pms = 32400

enable\_dnsserver = True

port\_dnsserver = 53

ip\_dnsmaster = 8.8.8.8

prevent\_atv\_update = True

enable\_plexconnect\_autodetect = False

ip\_plexconnect = 192.168.1.100

hosttointercept = trailers.apple.com

port\_webserver = 80

enable\_webserver\_ssl = True

port\_ssl = 443

certfile = ./assets/certificates/trailers.pem

loglevel = Normal

logpath = .

---

<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 21, 2019, 3:44am UTC](https://forums.plex.tv/t/plexconnect-dns-issues-out-of-range/84992/14 "2019-12-21T03:44:32Z")

</div>

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