Jump to content

Emby Connect not prioritizing local connection, auto quality settings is too low


Go to solution Solved by Riptide126,

Recommended Posts

Riptide126
Posted (edited)

Hello all, I have been having a couple issues lately, the first being that when I connect to the server on the same network, it seems like emby connect is prioritizing a remote connection for some reason instead of a local one. I can connect to the server by manually typing in the local ip address so there should be no issue with that. The second is that it seems like the auto quality setting is always going to 4mbps when I have it on auto. I would prefer if it didn't do that as I would like to direct play if possible, and when I set it to a higher quality manually it has no problem playing it. This could be due to the weirdness happening with it not connecting locally while I am on the local network. If there is anything you guys need besides the attached logs please let me know.

embyserver.txt

Edited by Riptide126
Posted

Hi there, it does prioritize the local connection. Emby apps try to connect with the local connection first, and only use the remote connection when it can't reach the server using the local address.

Riptide126
Posted

I am not sure why its using my public ip to connect then, I can connect locally on the same device if I put the local ip in manually in firefox. Do you have any advice on how I can troubleshoot that?

Posted

I would try restarting the app and see if that helps.

Riptide126
Posted

I tried that still no change, I guess I will just have to connect with my local ip manually when I am on the local network. I wouldn't even really care except I have a program that controls qbittorrent upload throttling when emby is streaming and it is supposed to ignore local streams, so right now it is throttling my qbittorent for no reason.

Jdiesel
Posted

Do you have your local IP address manually set in the Emby network settings?

Posted
8 minutes ago, Riptide126 said:

I tried that still no change, I guess I will just have to connect with my local ip manually when I am on the local network. I wouldn't even really care except I have a program that controls qbittorrent upload throttling when emby is streaming and it is supposed to ignore local streams, so right now it is throttling my qbittorent for no reason.

Does your server dashboard display the correct LAN address?

Posted
2 minutes ago, Jdiesel said:

Do you have your local IP address manually set in the Emby network settings?

Regardless of his answer, that should be left blank unless you have a reason to set it.

Q-Droid
Posted
6 minutes ago, Luke said:

Regardless of his answer, that should be left blank unless you have a reason to set it.

In this case it should be set to the IP address the user wants to have advertised on the LAN. From what I can tell Emby is running as a container on unraid and I think it might be advertising the unreachable container IP instead of the host IP. Hard to say for sure unless @Riptide126 can confirm if the container network is in host or bridge mode.

 

Riptide126
Posted

So if I use emby connect or emby.media it shows my public ip address, if I connect locally via the servers local ip it does show the correct local ip address of my device. I am also noticing that it only does this when I connect on one of my windows desktops, when I play something from my smart tv on the same network it shows the local ip and I am using emby connect on there as well.

Riptide126
Posted
10 minutes ago, Q-Droid said:

In this case it should be set to the IP address the user wants to have advertised on the LAN. From what I can tell Emby is running as a container on unraid and I think it might be advertising the unreachable container IP instead of the host IP. Hard to say for sure unless @Riptide126 can confirm if the container network is in host or bridge mode.

 

The emby container is in host mode

Posted

Does your server dashboard display the correct LAN address?

Riptide126
Posted (edited)

Yes it does

image.png

Edited by Riptide126
Riptide126
Posted (edited)

Just to give as much info as possible, the server is connected via ethernet and the desktops are connected via wifi, also we use eero routers and the pc's are connected to one of the wireless access points where the server is connected to the main eero router. I don't know if this would somehow come into play.

Edited by Riptide126
Q-Droid
Posted

Do you have a single or multiple subnets on your home network?

Riptide126
Posted

I'm using a single subnet: 192.168.4.0/22 (subnet mask 255.255.252.0). All devices fall within that range.

Posted

What do you mean by fail?

Riptide126
Posted

I’m not sure I understand, did you mean when I said all devices fall within that range? I just mean all my devices are in that subnet.

Neminem
Posted
On 5/25/2025 at 2:48 AM, Riptide126 said:

192.168.4.0/22

The subnet should be 192.168.4.0/24

Q-Droid
Posted (edited)

The /22 mask is valid and should work as long as it's consistent for the subnet and other devices. The smaller mask makes the subnet bigger to allow more IP addresses.

 

 

 

Edited by Q-Droid
Riptide126
Posted

If anyone else has any ideas for testing or anything let me know. It would be nice if I could get this figured out.

Posted
7 hours ago, Riptide126 said:

If anyone else has any ideas for testing or anything let me know. It would be nice if I could get this figured out.

How have you configured emby server network settings?

Riptide126
Posted

I have a reverse proxy setup through nginx, here are my network settings, the only thing I didnt include was my external domain name.

image.png

image.png

image.png

image.png

Q-Droid
Posted

Have you tried entering your subnet in the LAN networks field?

Riptide126
Posted

I have not but I don't think it will fix anything, when I play on my smart tv it correctly shows the local ip address and treats it like a local stream, the problem with my pc is for some reason in emby it shows up as my public ip address even though I am on the same network.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...