Using the android client app and I tried to connect to my new server (first time setup). When I tap “Choose server” I can see the server name and local IP (192.168.0.5). When I tap on it, it won’t connect. What am I probably doing wrong?

Edit: the app uses a default address, although it identifies the name of the server I set up. I checked the WiFi settings on the machine and the server is 192.168.1.60. I used this and it worked immediately.

Thanks for the help! I was able to eliminate some things, and learned some important things.

  • @[email protected]
    link
    fedilink
    English
    8
    edit-2
    2 months ago

    Are you putting the port number at the end of the local IP? Jellyfin defaults to port 8096 iirc. So the server URL should be 192.168.0.5:8096. What happens if you input that?

    Are you able to connect to the server via web browser? e.g., typing http://192.168.0.5:8096 into Firefox

    And as a quick sanity check, is your phone connected to the same wifi network as the Jellyfin server?

    • @[email protected]
      link
      fedilink
      English
      2
      edit-2
      2 months ago

      This was my first thought was the port number.

      OP, ping the IP address of your Android device from your server. If not, you have a networking issue. If you can ping it, probably a settings issue.

      Also, my Android phone was able to find my server automatically.

      • @gedaliyahOP
        link
        English
        32 months ago

        What does it mean to ping? Is that a bash command? Sorry if that’s a really basic question.

        • @PlasticExistence
          link
          English
          5
          edit-2
          2 months ago

          We all start somewhere, and none of us learn without the help of others who’ve come before us. No need to apologize for that.

          ping is a terminal (command line) utility used to check that a different machine is reachable. The name comes from the sound that sonar makes when it strikes a metal ship hull.

          Termux is the app to get on Android.

          Try it. Open up a terminal emulator / command line and do a ping google.com (or your website or local network address of choice). You’ll see the response from the other machine and how long it took to do that.

        • @[email protected]
          link
          fedilink
          English
          42 months ago

          ping is terminal or command line command.

          It works in Windows, MacOS, and Linux.

          Go open a terminal and type ping then a space, then the IP address of your Android device. If it connects it will give you a latency number. If it doesn’t, it will tell you it is not reachable.

          Windows stops the command at 4 I believe. In Linux and MacOS use CTRL + C to stop the command.

          • @gedaliyahOP
            link
            English
            12 months ago

            How do I know the IP address of my phone? It’s different on an internal network, right? As opposed to the IP address on the internet?

            • @[email protected]
              link
              fedilink
              English
              12 months ago

              depends on what version of Android but it should be similar.

              Also do not delete or modify anything.

              Go to Settings -> Network & Internet -> Internet -> (You Network Name Here)

              Then click the down arrow for Advanced and under Network Details you will find IP Address.

              This Network Details information might be useful later. Remember how you got to it.

    • @gedaliyahOP
      link
      English
      22 months ago

      Yes, the app automatically checks the default ports as well.

      The browser just loads indefinitely.

      It is connected to the same WiFi, syncthing is also connected and working between server and phone. It does detect the server from the phone and shows it by name. I set it up on the server as a docker container if that matters.

      • @[email protected]
        link
        fedilink
        English
        3
        edit-2
        2 months ago

        Hmm, have you made any changes to the firewall on the system hosting the Docker container?

        You might need to edit the firewall with a something like this:

        sudo ufw allow from 192.168.1.0/24 to any port 8096

        Are you using docker-compose to run the Jellyfin service? If so, you might need to add something like this to the docker-compose.yml file:

        network_mode: 'host'
        extra_hosts:
              - "host.docker.internal:host-gateway"
        

        I’m no expert at Docker or UFW, but these are part of my Jellyfin setup, which I’m running on Ubuntu LTS in a Docker container.

        • @gedaliyahOP
          link
          English
          12 months ago

          Hm, I tried both of these. Still no luck. Thanks!

  • @[email protected]
    link
    fedilink
    English
    82 months ago

    The very first time you connect you’ll need to do it from a web browser, rather than the app. Once you have your username/password setup you can do everything else from the android app

    • @gedaliyahOP
      link
      English
      32 months ago

      In the end, I was able to sign in directly from the app with the version I am using. I had already done the setup on the server

    • @gedaliyahOP
      link
      English
      3
      edit-2
      2 months ago

      Could it be different that what the phone detects? How would I find it?

      Edit: Narrator: “It was different.”