this post was submitted on 11 Sep 2024
14 points (100.0% liked)

Jellyfin: The Free Software Media System

5750 readers
105 users here now

Current stable release: 10.10.2

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
 

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.

top 15 comments
sorted by: hot top controversial new old
[–] rudyharrelson@lemmy.radio 8 points 2 months ago* (last edited 2 months ago) (2 children)

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?

[–] IllNess@infosec.pub 2 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] gedaliyah@lemmy.world 3 points 2 months ago (2 children)

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

[–] PlasticExistence@lemmy.world 5 points 2 months ago* (last edited 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.

[–] IllNess@infosec.pub 4 points 2 months ago (1 children)

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.

[–] gedaliyah@lemmy.world 1 points 2 months ago (1 children)

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?

[–] IllNess@infosec.pub 1 points 2 months ago (1 children)

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.

[–] gedaliyah@lemmy.world 1 points 2 months ago

Thanks, got it!

[–] gedaliyah@lemmy.world 2 points 2 months ago (1 children)

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.

[–] rudyharrelson@lemmy.radio 3 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] gedaliyah@lemmy.world 1 points 2 months ago

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

[–] entropicdrift@lemmy.sdf.org 8 points 2 months ago (1 children)

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

[–] gedaliyah@lemmy.world 2 points 2 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

[–] pizza_the_hutt@sh.itjust.works 2 points 2 months ago (1 children)

Have you tried manually entering the URL for the server?

[–] gedaliyah@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

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

Edit: Narrator: "It was different."