• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Cannot Connect Android App to Desktop Server

     
    • 0 Vote(s) - 0 Average

    Cannot Connect Android App to Desktop Server

    littleradio
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #5
    2024-09-13, 02:05 PM
    Hello again,

    This is a lengthy post, and hopefully I make sense. After an afternoon of tinkering (and asking AI & the docs) I was able to set up Jellyfin in a way that was accessible via my phone as well as another desktop at home, so success, for the most part, as you'll read below.

    I had UFW enabled and had allowed port 8096 on the server. What I realized was that no port was specified in the shell script I had used to run Jellyfin in a Docker container. I don't know if this was exactly the issue, but after rewriting the shell script and adding -p (published 8096:8096) and also specifying the bridge connection, I had success.

    Once I had set that up I was able to log in via another desktop, however I was still stumped by my phone. What I discovered was that if I turned the VPN off on my phone, it connected no problem. I suspect that might have been a major issue in my former iterations. What I don't understand is that I use the same VPN on the desktop, and it still connected to the server. I haven't done anything to set up reverse proxy or to use a DNS address, but that will likely be my next project, at some point.

    I've gained a lot of new info about networking and applications and shell scripts (which was half the goal of this project!) and will keep searching for why the VPN blocks it. Any ideas as to why the phone's VPN would block the access to the server, and not the desktop's VPN connection? They are both connected to our home network via the VPN. If you need more info, let me know.

    Here is the successful shell script minus username:

    #!/bin/bash
    docker run -d \
    --name jellyfin \
    --user 1000:1000 \
    --net=bridge \
    --publish 8096:8096 \
    --volume /home/user/jellyfin/configConfused-faceconfig \
    --volume /home/user/jellyfin/cacheConfused-facecache \
    --mount type=bind,source=/home/user/jellyfin/media,target=/media \
    --restart=unless-stopped \
    jellyfin/jellyfin


    Thank you!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Cannot Connect Android App to Desktop Server - by littleradio - 2024-09-12, 02:42 AM
    RE: Cannot Connect Android App to Desktop Server - by TheDreadPirate - 2024-09-12, 01:41 PM
    RE: Cannot Connect Android App to Desktop Server - by littleradio - 2024-09-12, 08:34 PM
    RE: Cannot Connect Android App to Desktop Server - by TheDreadPirate - 2024-09-12, 08:50 PM
    RE: Cannot Connect Android App to Desktop Server - by littleradio - 2024-09-13, 02:05 PM
    RE: Cannot Connect Android App to Desktop Server - by TheDreadPirate - 2024-09-13, 02:44 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode