Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Plex Media Server port mapping with NAT-PMP Airport/Time Capsule

jnorrisjnorris Members, Plex Pass Posts: 1 Plex Pass

I've been trying to access my Plex media server via plex.tv from outside my LAN to no avail. The server is running on Windows 7 connected over powerline Ethernet to an Apple Time Capsule (similar to Airport Extreme) serving as the router. The Settings > Connect page shows the following:

 

Signed in to Plex

You have successfully signed your server in to Plex, but we were unable to reach it from outside your network.

If you would like to enable this now, you will need to configure your router or firewall to allow Plex to contact your server. Please refer to our Connecting a Server article for more information.

 

Here are the relevant lines from the Plex media server log file:


Mar 11, 2015 22:44:58:698 [21408] INFO - Plex Media Server v0.9.11.7.803-87d0708 - Microsoft PC  - build: windows-i386 english

...

Mar 11, 2015 22:45:00:643 [21408] DEBUG - NAT: Starting Mapping Thread.
Mar 11, 2015 22:45:00:643 [21408] DEBUG - NAT: Using previously obtained port of 29938.
Mar 11, 2015 22:45:00:643 [21408] DEBUG - NAT: Creating NAT puncher thread 03FFAE70
Mar 11, 2015 22:45:00:643 [21408] DEBUG - NetworkInterface: Notified of network changed (force=0)
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Updating mapping in puncher thread 03FFAE70
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Creating puncher.
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Switching to NAT-PMP strategy.
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Creating NATPmPPuncher.
Mar 11, 2015 22:45:00:643 [26900] DEBUG - HTTP requesting to: https://plex.tv/users/account.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Initializing NAT-PMP, success=1
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Finding public address failed the first way, switching.
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Switching to UPnP strategy.
Mar 11, 2015 22:45:00:643 [27996] DEBUG - NAT: Creating NATUPnPPuncher.
Mar 11, 2015 22:45:00:649 [21408] DEBUG - Network interfaces:
Mar 11, 2015 22:45:00:649 [21408] DEBUG -  * 1 {846EE342-7039-11DE-9D20-806E6F6E6963} (127.0.0.1) (loopback: 1)
Mar 11, 2015 22:45:00:649 [21408] DEBUG -  * 12 {C056D153-3601-423A-8320-A58BA808A2AB} (10.0.0.202) (loopback: 0)
Mar 11, 2015 22:45:00:777 [26900] DEBUG - EventSource: Creating.
Mar 11, 2015 22:45:00:777 [26900] DEBUG - EventSource: Connecting to pubsub.plex.tv
Mar 11, 2015 22:45:00:778 [21548] DEBUG - Sync: myPlexSignIn
Mar 11, 2015 22:45:00:784 [26900] DEBUG - MyPlex: Last published value didn't change, we're done.
Mar 11, 2015 22:45:00:784 [26620] DEBUG - It took 0.000000 sec to serialize a list with 4 elements.
Mar 11, 2015 22:45:00:785 [26620] DEBUG - MyPlex: Sending Server Info to myPlex (user=jnorris@xxxxx.com, ip=, port=0)
Mar 11, 2015 22:45:00:785 [26620] DEBUG - HTTP requesting to: https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 11, 2015 22:45:01:049 [26620] DEBUG - MyPlex: Published Mapping State response was 422
Mar 11, 2015 22:45:01:049 [26620] WARN - MyPlex: Invalid response when mapping state (code=422):  
Mar 11, 2015 22:45:01:254 [27300] DEBUG - [com.plexapp.system] HTTP reply status 200, with 5773 bytes of content.
...
Mar 11, 2015 22:45:09:875 [27996] DEBUG - NAT: Initialized UPnP, result: Not an IGD device
Mar 11, 2015 22:45:09:875 [27996] DEBUG - HTTP requesting to: http://plex.tv/pms/:/ip
Mar 11, 2015 22:45:09:932 [27996] DEBUG - MyPlex: Got public IP from http://plex.tv:76.103.188.68
Mar 11, 2015 22:45:09:932 [27996] DEBUG - NAT: Obtained public address of 76.103.188.68 (failed: 0 myPlex: 1).
Mar 11, 2015 22:45:09:933 [27996] DEBUG - NAT: Checking for change in address: old was  and new is 76.103.188.68.
Mar 11, 2015 22:45:09:933 [27996] WARN - NAT: Not unmapping ports via UPnP, state=65537, controlURL=http://10.0.0.114:8008/, serviceType=
Mar 11, 2015 22:45:09:933 [27996] DEBUG - NAT: Unmapping ports failed the first way, switching.
Mar 11, 2015 22:45:09:933 [27996] DEBUG - NAT: Switching to NAT-PMP strategy.
Mar 11, 2015 22:45:09:933 [27996] DEBUG - NAT: Unmapping port via NAT-PMP
Mar 11, 2015 22:45:10:183 [27996] DEBUG - NAT: Finished NAT-PMP request, result was: NATPMP_ERR_RECVFROM
Mar 11, 2015 22:45:10:183 [27996] DEBUG - NAT: Unmapped port via NAT-PMP (success=0).
Mar 11, 2015 22:45:10:183 [27996] DEBUG - NAT: Mapping port via NAT-PMP
Mar 11, 2015 22:45:10:433 [27996] DEBUG - NAT: Finished NAT-PMP request, result was: NATPMP_ERR_RECVFROM
Mar 11, 2015 22:45:10:433 [27996] DEBUG - NAT: Mapped ports (success=0) private: 0 public 0
Mar 11, 2015 22:45:10:433 [27996] DEBUG - NAT: Mapping ports failed the first way, switching.
Mar 11, 2015 22:45:10:433 [27996] DEBUG - NAT: Switching to UPnP strategy.
Mar 11, 2015 22:45:10:433 [27996] WARN - NAT: Not mapping ports via UPnP, state=65537, controlURL=http://10.0.0.114:8008/, serviceType=
Mar 11, 2015 22:45:10:433 [27996] ERROR - NAT: Mapping failed (Not an IGD device)
Mar 11, 2015 22:45:10:452 [27996] DEBUG - It took 0.001000 sec to serialize a list with 4 elements.
Mar 11, 2015 22:45:10:452 [27996] DEBUG - MyPlex: Sending Server Info to myPlex (user=jnorris@xxxxx.com, ip=, port=0)
Mar 11, 2015 22:45:10:454 [27996] DEBUG - HTTP requesting to: https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Mar 11, 2015 22:45:10:612 [27996] DEBUG - MyPlex: Published Mapping State response was 422
Mar 11, 2015 22:45:10:612 [27996] WARN - MyPlex: Invalid response when mapping state (code=422):  
Mar 11, 2015 22:45:10:640 [27996] DEBUG - MyPlex: Last published value didn't change, we're done.
Mar 11, 2015 22:45:10:640 [27996] DEBUG - NAT: Updating mapping complete in thread 03FFAE70.
Mar 11, 2015 22:45:10:640 [27996] DEBUG - NAT: Deleting puncher.
Mar 11, 2015 22:45:10:640 [27996] DEBUG - NAT: Deleting NATUPnPPuncher.
Mar 11, 2015 22:45:10:641 [27996] DEBUG - NAT: Deleting NATPmPPuncher.
Mar 11, 2015 22:45:10:641 [21408] DEBUG - NAT: Updating mapping in puncher thread 03FFAE70
Mar 11, 2015 22:45:10:641 [21408] DEBUG - NAT: Creating puncher.
Mar 11, 2015 22:45:10:641 [21408] DEBUG - NAT: Switching to NAT-PMP strategy.
Mar 11, 2015 22:45:10:641 [21408] DEBUG - NAT: Creating NATPmPPuncher.
Mar 11, 2015 22:45:10:642 [21408] DEBUG - NAT: Initializing NAT-PMP, success=1
Mar 11, 2015 22:45:10:642 [21408] DEBUG - NAT: Finding public address failed the first way, switching.
Mar 11, 2015 22:45:10:642 [21408] DEBUG - NAT: Switching to UPnP strategy.
Mar 11, 2015 22:45:10:642 [21408] DEBUG - NAT: Creating NATUPnPPuncher.
Mar 11, 2015 22:45:10:645 [27996] DEBUG - NAT: We're going to next poll in 11.0 hours.
Mar 11, 2015 22:45:20:660 [21408] DEBUG - NAT: Initialized UPnP, result: Not an IGD device
Mar 11, 2015 22:45:20:661 [21408] DEBUG - HTTP requesting to: http://plex.tv/pms/:/ip
Mar 11, 2015 22:45:20:725 [21408] DEBUG - MyPlex: Got public IP from http://plex.tv:76.103.188.68
Mar 11, 2015 22:45:20:725 [21408] DEBUG - NAT: Obtained public address of 76.103.188.68 (failed: 0 myPlex: 1).
Mar 11, 2015 22:45:20:725 [21408] DEBUG - NAT: Checking for change in address: old was  and new is 76.103.188.68.
Mar 11, 2015 22:45:20:725 [21408] WARN - NAT: Not unmapping ports via UPnP, state=65537, controlURL=http://10.0.0.114:8008/, serviceType=
Mar 11, 2015 22:45:20:725 [21408] DEBUG - NAT: Unmapping ports failed the first way, switching.
Mar 11, 2015 22:45:20:725 [21408] DEBUG - NAT: Switching to NAT-PMP strategy.
Mar 11, 2015 22:45:20:726 [21408] DEBUG - NAT: Unmapping port via NAT-PMP

 

My main Time Capsule serving as the router has IP 10.0.0.1, a secondary Time Capsule connected over powerline Ethernet to the first (for an upstairs wireless network) has IP 10.0.0.100, and the Windows machine running Plex media server is at 10.0.0.202. I have no idea why Plex is trying to contact 10.0.0.114, which is currently my Chromecast. I don't know what "the first way" of finding the public address is, or why Plex seems to unmap the successfully NAT-PMP-mapped port (32400) after finding the public address the second way. 

 

At any rate, I can actually access the server via the public IP, and canyouseeme also indicates that port 32400 is open, but the server still thinks that plex.tv can't access it. Very odd.

Tagged:

Comments

  • c_l_phillips72c_l_phillips72 Members, Plex Pass Posts: 24 Plex Pass

    It's very disappointing to see all of these unanswered questions.

Sign In or Register to comment.