# Plex Media Server will not link to Plex

**URL:** <https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391>\
**Category:** Plex Media Server\
**Tags:** server-mac, server-synology\
**Created:** [February 11, 2023, 6:37pm UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391 "2023-02-11T18:37:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![d18set](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@d18set](https://forums.plex.tv/u/d18set)\
**Post date:** [February 11, 2023, 6:37pm UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/1 "2023-02-11T18:37:33Z")

</div>

Hi All

I’ve got a Synology DS220j which I use as my server for holding content which I have linked to my Plex account. However recently I have had a few issues (I think related to changing internet provider), but my Plex account is no longer linked to my Synology NAS. I’ve tried uninstalling and reinstalling the Plex Media Survey on the Synology Package Center but when I click “Open” I get an error saying that it cannot open the page because the server unexpectedly dropped the connection. I think it must be a relatively simple fix but I am struggling, so any help appreciated. TIA

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [February 11, 2023, 7:49pm UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/2 "2023-02-11T19:49:01Z")

</div>

- Verify the default gateway and DNS server settings are correct in the NAS network settings.
- In Control Panel → Regional Options, make sure the NAS can successfully synchronize with a NTP server.
- Do not use the Open button in Package Center.
- Connect direct to the IP address of the NAS. For example, if the IP address is 10.1.2.3, use [http://10.1.2.3:32400/web](http://10.1.2.3:32400/web).

If you still cannot login to Plex Media Server:

1. Stop Plex via Package Center
2. Using File Station, navigate to the [Plex Data Folder](https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/)
3. Right click on Logs and compress to Logs.zip
4. Upload the zip file to the thread (drag file into message window).

---

<div class="post-metadata">

**Author:** ![d18set](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@d18set](https://forums.plex.tv/u/d18set)\
**Post date:** [February 11, 2023, 8:48pm UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/3 "2023-02-11T20:48:06Z")

</div>

Thanks @FordGuy61

I’ve uploaded the zip file as it is still not connecting after trying your suggestions.

[Logs.zip](https://forums.plex.tv/uploads/short-url/wG5Kwvck10Bt02hXDVkU1TVj6lZ.zip) (2.2 MB)

---

<div class="post-metadata">

**Author:** ![dbirch](https://avatars.discourse-cdn.com/v4/letter/d/f19dbf/32.png) [@dbirch](https://forums.plex.tv/u/dbirch)\
**Post date:** [February 12, 2023, 12:26am UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/4 "2023-02-12T00:26:39Z")

</div>

@ChuckPa Any ideas?

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [February 12, 2023, 12:53am UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/5 "2023-02-12T00:53:56Z")

</div>

Thanks for the log files.

```auto
Feb 11, 2023 17:42:54.551 [0x7fadb42590] ERROR - getaddrinfo(192-168-68-106.abcdefghijklmnopqrstuvwxyz012345.plex.direct) failed: -2
Feb 11, 2023 17:42:54.551 [0x7fadb42590] DEBUG - Network: 192-168-68-106.abcdefghijklmnopqrstuvwxyz012345.plex.direct failed to resolve to 192.168.68.106 but instead yielded ""

```

It looks like your router or ISP has DNS rebinding protection enabled, as PMS cannot resolve plex.direct addresses.

Configure the DS220j to use a public DNS provider such as 1.1.1.1 (Cloudflare), 8.8.8.8 / 8.8.4.4 (Google), or 9.9.9.9 (Quad9).

Also, if you are running a piHole, pfSense, or similar firewall, whitelist the plex.direct domain.

---

<div class="post-metadata">

**Author:** ![d18set](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@d18set](https://forums.plex.tv/u/d18set)\
**Post date:** [February 12, 2023, 8:59am UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/6 "2023-02-12T08:59:35Z")

</div>

Thanks @FordGuy61

I’ll look at how to disable any DNS rebinding protection on my new router. If I have any issues following this I will post back on here.

Thanks

---

<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:** [May 13, 2023, 8:59am UTC](https://forums.plex.tv/t/plex-media-server-will-not-link-to-plex/830391/7 "2023-05-13T08:59:43Z")

</div>

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