Unable to Access Plex Server from Android Device (other connections fine!)

Server Version#: Version 1.25.6.5577
Player Version#: Android App 8.30.2.31202

Server Local IP: 192.168.2.6:32400
Server name: Coruscant
Handset local IP: 192.168.2.251

For some reason, I cannot access my plex server from the android mobile app. Here is what does work

  • Accessing the server/playing media from a laptop
  • Accessing the server/playing media from my LG smart TV
  • Accessing the server/playing media from firefox on my android phone

When I try access the server from the plex app on my phone, it appears as “offline”. What I have tried so far:

  • Setting a manual connection to the server ip/port @ 192.168.2.6:32400
  • Changing security settings on the server and phone to allow for insecure connections
  • Clearing all data in the android app
  • Uninstalling/reinstalling the android app
  • Switching over to the beta android app
  • Rebooting the phone
  • Rebooting the server

None of the above has any effect on this error. My wife’s android phone can also not access the server.

I was looking at the logs on the server, and strangely I don’t see any attempts by the phone’s IP to access the server.

When I examine the logs on the phone, I noticed this entry:

03-03 09:04:53.792 i: Time out fetching https://172.18.0.8:32400/media/providers?includePreferences=1&X-Plex-Token=...dYm.
03-03 09:04:53.794 w: [MediaProvidersApiClient] Coruscant Couldn’t fetch providers. Result: Error (null)

It appears (to me) that the app believes the servers IP is 172.18.0.8. I do not know where it is getting this information from. There is no mention of the server’s true IP of 192.168.2.6 anywhere in the android phone log.

I am completely at a loss for what to do to fix this issue and would greatly appreciate any and all support.

I figured it out!

I am running the server as a docker container (linuxserver/plex). I checked the container and it believed it’s IP was 172.18.0.8. I changed my docker compose file to have the entry:

network_mode: host

And the problem resolved. The container now believes that its IP is (properly) 192.168.2.6 and my mobile apps are able to connect to it.

This entry was not previously required in my docker-compose file, so I am not sure what happened. I recently updated the container, perhaps that had something to do with it?

In any case, this issue has been resolved.

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