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

Jellyfin: The Free Software Media System

5852 readers
19 users here now

Current stable release: 10.10.3

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 3 months ago* (last edited 3 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?

[–] [email protected] 2 points 3 months ago* (last edited 3 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.

[–] [email protected] 3 points 3 months ago (2 children)

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

[–] [email protected] 5 points 3 months ago* (last edited 3 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] 4 points 3 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.

[–] [email protected] 1 points 3 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?

[–] [email protected] 1 points 3 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.

[–] [email protected] 1 points 3 months ago

Thanks, got it!

[–] [email protected] 2 points 3 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.

[–] [email protected] 3 points 3 months ago* (last edited 3 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.

[–] [email protected] 1 points 3 months ago

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