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.
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
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.
What does it mean to ping? Is that a bash command? Sorry if that’s a really basic question.
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.
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.
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?
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.
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.
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
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
Have you tried manually entering the URL for the server?
Could it be different that what the phone detects? How would I find it?
Edit: Narrator: “It was different.”