Bronom 0 Posted November 30, 2023 Share Posted November 30, 2023 (edited) Hi ! Im trying to setup Emby for access over ethernet. I open my port, etc, and everything work greats. But.. i would like to know how can i see if emby is using LAN Network instead or WAN when im connected on the LAN Network. I've made my test with my Android Phone with Mobile Data and my Emby Server is under docker in a Unraid Server. Exemple : I connect my server with my domain (through cloudflare). MyAwesomeDomain.com (Not my real ) with the port :8096. It connect totaly fine and work fine. but if i am on my LAN Network : 192.168.0.x and i start a playback i can see in the dashboard the ip address is my WAN IP / Public addess. I've tried to use a ddns instead of MyAwesomeDomain.com and i also tried directly my Public IP and nothing change. I still see my Public IP and because the server see my public ip address if i change the bandwith limit or quality limit, it take effect even if i am on my lan network. The only solution i found and does seem to work is to add a DNS Static Host Mapping, but if i add this it will redirect every thing with MyAwesomeDomain.com to a single LAN IP Address. So if i want to use my domain for a other Server / Devices it will not work in LAN because it will redirect to Emby Server. So my question is : How can i verify which Network Emby is using and if it doesn't work as expected, what could i have not configure correctly ? Thx ! Edited November 30, 2023 by Bronom Typing error Link to comment Share on other sites More sharing options...
Luke 37095 Posted December 2, 2023 Share Posted December 2, 2023 Hi, in the Emby android app, after you're signed in, if you go to change server, the server will be displayed along with the last ip address that was used to connect to it. Alternatively if you'd like to see this information in Emby Server, in the 4.7 server release you can see the ip address while the user is playing content. In the upcoming 4.8 server release the ip address will also be visible on the devices management screen. Link to comment Share on other sites More sharing options...
Bronom 0 Posted December 2, 2023 Author Share Posted December 2, 2023 I can see it while playback in dashboard. But im would like to know if it is possible to use the connect with the WAN IP for outside of home and when im back at home automaticly switching to the lan connection. because for now if it connect to emby with the wan ip it seem to alway use the WAN connection. Link to comment Share on other sites More sharing options...
Luke 37095 Posted December 3, 2023 Share Posted December 3, 2023 HI, we do already support automatic switching, if the device reports a network connection change, then the app will retest the addresses to see of the lan address can be reached. Link to comment Share on other sites More sharing options...
Bronom 0 Posted December 3, 2023 Author Share Posted December 3, 2023 Ok but should i see the ip address changing under the playback ? Or it will keep showing the wan ip but using the lan behind ? Link to comment Share on other sites More sharing options...
Luke 37095 Posted December 3, 2023 Share Posted December 3, 2023 13 hours ago, Bronom said: Ok but should i see the ip address changing under the playback ? Or it will keep showing the wan ip but using the lan behind ? I should clarify what I said. We do support automatic network switching, but as of now it's only in the user interface, not the audio/video players. That means if you switch networks right in the middle of playback, it won't automatically switch at that point. So you might not see the ip address update during playback. but when browsing around you should. Link to comment Share on other sites More sharing options...
Bronom 0 Posted December 3, 2023 Author Share Posted December 3, 2023 Ok i understand. So in my case i always see the WAN IP if i connect with my domain name or directly with my WAN IP. If im at home and i start a playback i still see my public IP Address and if i add a bandwith limit it still limit my connection even if im at home. Do you know what i could change to fix it ? Because at the moment the only way to use the LAN connection is to use the server local ip address on the server connection list. But in this case if i go outside it will not work anymore. So i would like to be able to use my domain or at least using my wan ip address as connection ip and using the WAN connection when im outside and using my LAN Connection when im at home. Link to comment Share on other sites More sharing options...
Luke 37095 Posted December 13, 2023 Share Posted December 13, 2023 Quote If im at home and i start a playback i still see my public IP Address and if i add a bandwith limit it still limit my connection even if im at home. Do you know what i could change to fix it ? You don't need to do anything. As you click around the user interface, it will figure it out and switch urls. On the other hand if just have the app in the background and then when you come home do nothing other than just pressing play, then at that point it might not have switched yet and might still be on the wan url. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now