# Plex Relay Not Working

**URL:** <https://forums.plex.tv/t/plex-relay-not-working/334786>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [November 20, 2018, 7:26pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786 "2018-11-20T19:26:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 20, 2018, 7:26pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/1 "2018-11-20T19:26:22Z")

</div>

I’m running my plex server on unRAID, I’m using PlexInc’s official docker, my internet connection is behind a Carrier Grade NAT (CGNAT). Because I’m behind a CGNAT I know I can’t get a direct connection to Server outside my home network, the thing is I’m not getting a relay (Indirect) connection either. Relay connection used to work for me but at some point in the last year or so it stopped working and I can’t get it to work. Please help me, I have plex pass and everything.

Edit:

I forgot to mention this in the original post but Plex remote access is enabled in settings.

---

<div class="post-metadata">

**Author:** ![anon18523487](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon18523487](https://forums.plex.tv/u/anon18523487)\
**Post date:** [November 20, 2018, 8:26pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/2 "2018-11-20T20:26:02Z")

</div>

Is remote access still enabled? That is required (even if it doesn’t work) to enable Relay.

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 21, 2018, 5:44am UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/3 "2018-11-21T05:44:28Z")

</div>

Yes, Plex remote access is enabled in settings.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 22, 2018, 5:44pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/4 "2018-11-22T17:44:05Z")

</div>

It is the client apps that trigger the request to start Relay when they cannot reach the server normally. Test with different plex clients. restart the server. Make sure you run with latest beta 1.14.0.5468 as it fixed bug that impacted handling of events coming in

if you are still stuck  
debug logging enabled

server logs  
client app logs  
[https://support.plex.tv/articles/201869908-log-files/](https://support.plex.tv/articles/201869908-log-files/)

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 22, 2018, 7:12pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/5 "2018-11-22T19:12:35Z")

</div>

[Plex Media Server Logs\_2018-11-23\_00-38-44.zip](https://global.discourse-cdn.com/plex/original/3X/8/9/897c93cb6d9cd5d65802491f7a0284d6c2097b43.zip) (1.2 MB)  
[Pleax Android App logging.txt](https://global.discourse-cdn.com/plex/original/3X/9/e/9eef53201cf548b0db61c661c6921bbd51a01dec.txt) (1.1 MB)

I hope you can help.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 22, 2018, 7:59pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/6 "2018-11-22T19:59:19Z")

</div>

Thank you

I can see a failure for the Plex Relay process to connect to local port 32401 which is dedicated for Relay

```auto
Nov 23, 2018 00:20:28.471 [0x14cbd3e37800] DEBUG - HttpServer: Listening on port 32400 with queue of 128 connections.
Nov 23, 2018 00:20:28.471 [0x14cbd3e37800] DEBUG - HttpServer: Listening on port 32401 with queue of 128 connections.

Nov 23, 2018 00:21:52.525 [0x14cbc4dda700] INFO - [PlexRelay] Allocated port 24459 for remote forward to localhost:32401

Nov 23, 2018 00:21:52.762 [0x14cbc3bfd700] ERROR - [PlexRelay] connect_to localhost port 32401: failed.

```

At this point i do not know why the Plex Relay service is failing to connect to port 32401

could you get the equivalent to `netstat -a -b -n` captured into a file and attach

I need to see what processes are listening to 32401 and what connections exist

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 3:37am UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/7 "2018-11-23T03:37:47Z")

</div>

[netstat.txt](https://global.discourse-cdn.com/plex/original/3X/2/d/2d4cbdd4a223566e366f7b969f28d1320a4cebbd.txt) (22.4 KB)

I got you netstat -a -p -n instead because I’m on linux, hope this helps.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 12:21pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/8 "2018-11-23T12:21:20Z")

</div>

Thank you very much - that was a netstat whilst Plex Media Server was running - version 1.14.0.5468?

Strange the listens are only on ipv6

could you disable iPv6 within server network settings and restart the server and retry and get me again the logs and netstat and if outcome is the same

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 12:22pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/9 "2018-11-23T12:22:11Z")

</div>

could you also get me the output from  
`ifconfig -a`

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 12:54pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/10 "2018-11-23T12:54:20Z")

</div>

There may also be another complication. Relay traffic comes from outside to 443 - i see that goes to nginx

```auto
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 9871/nginx: master
tcp6 0 0 :::32400 :::* LISTEN 8070/Plex Media Ser
tcp6 0 0 ::1:32401 :::* LISTEN 8070/Plex Media Ser
tcp6 0 0 :::443 :::* LISTEN 9871/nginx: master

```

You could also try without the reverse proxy

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 1:19pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/11 "2018-11-23T13:19:38Z")

</div>

[Andoid App logging.txt](https://global.discourse-cdn.com/plex/original/3X/6/7/67348b935c7c952b243b00bc4255cf0d11b684f2.txt) (1.2 MB)  
[netstat.txt](https://global.discourse-cdn.com/plex/original/3X/2/6/2650dc5dc7b0150734147f83410e45461d273b51.txt) (17.7 KB)  
[Plex Media Server Logs\_2018-11-23\_18-37-16.zip](https://global.discourse-cdn.com/plex/original/3X/d/d/dd9acff34cc1fdda69e0df48b936d6d290d48736.zip) (2.6 MB)  
[ifconfig.txt](https://global.discourse-cdn.com/plex/original/3X/4/a/4a3e94f8e1866ae14fade3c2f31cd49ff0683020.txt) (5.3 KB)

These were taken while Plex Media Server version 1.14.0.5468 was running and just after an attempted remote connection. And I did disable ipv6 on unRAID and did a system reboot just to be safe.

I don’t really know about the reverse proxy, I did not intentionally run it, it might be something else on unRaid that might be causing it, I’ll look into how to disable it.

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 1:35pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/12 "2018-11-23T13:35:57Z")

</div>

[tower-diagnostics-20181123-1902.zip](https://global.discourse-cdn.com/plex/original/3X/b/d/bd749ffcb0ae845d18d7e6d7432a30381e7f8113.zip) (104.3 KB)

I’m not sure if this is helpful or not but here is the diagnostics from my unRAID machine.

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 1:42pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/13 "2018-11-23T13:42:10Z")

</div>

> [@koshyg15](#):
>
> And I did disable ipv6 on unRAID and did a system reboot just to be safe.

That is not what i meant

Plex Web / Settings / Server / Network / Show Advanced / and deselect `Enable server support for IPv6` and save changes and restart plex media server and repeat test and capture of netstat and logs

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 1:54pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/14 "2018-11-23T13:54:09Z")

</div>

Turning off ipv6 did solve the problem, now plex relay works. Do you still want the logs?

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 1:54pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/15 "2018-11-23T13:54:57Z")

</div>

Yes please

I need all the evidence please - netstat / logs / ifconfig -a

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 2:02pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/16 "2018-11-23T14:02:40Z")

</div>

[Android App logging.txt](https://global.discourse-cdn.com/plex/original/3X/8/6/8653f99c46f6d2efc76ecdb076cce006b984e007.txt) (1.0 MB)  
[ifconfig.txt](https://global.discourse-cdn.com/plex/original/3X/5/7/576bbea6c279fefa15a8b3d7c60d8af1fc499c77.txt) (5.4 KB)  
[netstat.txt](https://global.discourse-cdn.com/plex/original/3X/b/4/b4bdcada59e0c3895f6e2b827b7839d1dd2483f1.txt) (19.4 KB)  
[Plex Media Server Logs\_2018-11-23\_19-28-14.zip](https://global.discourse-cdn.com/plex/original/3X/8/1/817ec1baf25a76741a2bf144ffbdb3abc7a778b0.zip) (1.8 MB)

Here you go

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 2:11pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/17 "2018-11-23T14:11:16Z")

</div>

Thank you for your help

this has now been raised with the development team

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 2:16pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/18 "2018-11-23T14:16:51Z")

</div>

Good to know and thanks for all your help, but one more thing, I still can’t get alexa to play my music.

![](https://global.discourse-cdn.com/plex/original/3X/b/b/bb5ebb296d443dab0915f8f262ac77b123f6efb4.png)

Edit:

@sa2000  
Should I make a new topic? And can I delete all the logs and attachments from my previous posts?

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [November 23, 2018, 4:10pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/19 "2018-11-23T16:10:21Z")

</div>

New topic with right tags for Alexa- May be it does not work with relay

I have a question - did the problem with relay that we fixed by disabling ipv6 exist with the 1.13.9.5456 public release ?

---

<div class="post-metadata">

**Author:** ![koshyg15](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/koshyg15/32/101352_2.png) [@koshyg15](https://forums.plex.tv/u/koshyg15)\
**Post date:** [November 23, 2018, 4:49pm UTC](https://forums.plex.tv/t/plex-relay-not-working/334786/20 "2018-11-23T16:49:38Z")

</div>

Relay does work on 1.13.9.5456 public release with ipv6 disabled.

[Next page](https://forums.plex.tv/t/plex-relay-not-working/334786.md?page=2)
