Jump to content

Emby Windows server setup, WAN works on mobile (android), LAN does not


Recommended Posts

Posted (edited)

image.png.c5709443ca19a15658ade6191b08850d.png 

My ports are setup in Win 11 Firewall to let through 8096 and 8620. I'm still struggling to get the SSL certificates in order. Got one via Nginx Proxy Manager, got dns domain via duckdns and can make SSL certficates. I don't know how to make sure its working with Emby so for now, I've just 8096 port to work with. No clue why I cant connect to my server on the mobile android app Emby.

If i just follow the steps in fill the above information in the LAN setup wont work. If i use my data and connect throught the WAN, it does work. But for obvious reasons I would like to use my wifi aswell as I also got an ATV where i want to setup the LAN server for my Emby app.

Some more information:

  • I've setup my router to allow ipv6, setup port forwarding for Emby Server with my-ip-adress port 80, my-ip-adress port 81, my-ip-adress port 443
  • I've setup a static ip adres which is the same as in my port fowards. (ipconfig tells me this is the case)

Could someone tell me what exactly im doing wrong here?

Edited by pmcsmolders@gmail.com
Posted

Hi there, what exactly happens when you try to connect within your LAN?

Posted

Silly of me to forget the error message.

Can't reach the server. At this time it's not possible to reach this server. Check if the server is active and try again.

Posted
On 10/20/2024 at 1:58 PM, ZuluKing91 said:

Silly of me to forget the error message.

Can't reach the server. At this time it's not possible to reach this server. Check if the server is active and try again.

Did you customize any settings in the Network section of Emby server settings?

Posted

Tried quite a few things, this is my network settings page

image.png.6087eda37a5200e2619a9ea1734dac3b.png

image.png.5fc96d5bff1afee89de62b0ae20e878e.png

Posted

OK do you know the correct lan ip address of your server machine?

Posted

Yes, i've set an static ip for my pc(server) on my router and my network settings on pc. I do have an VPN running when im downloading torrents but for lan im guessing that shouldnt be a problem. I've added my Apple TV and that works fine. But somehow my phone only works through WAN on own data not by Wifi.

I've tried adding the hostname: https://my-static-ip:8096 when adding the LAN server on my android phone but that doesn't work.

Posted

Hi, 8096 is the http port. So try http://ip:8096

Posted (edited)

Yeah sorry that was a typo. When i use http://ip:8096 i get the error message: "Can't reach the server. At the moment it is not possible to connect with the selected server. Check if the server is active and try again." Its in my mothertong so I roughly translated the error message.

To clarify I've setup an static ip in my router and on my pc network settings to the local 192.168.X.XXX. When i google my IP or what my VPN tells my my IP is before it changes it into my VPN-IP is different. It accepts http://my-not-static-ip:8096 though. But if use my Wifi i can't connect to the server, only through the data of my phone so WAN. It's like it doesn't recognise my Wifi on android phone as local LAN.

 

 

Edited by ZuluKing91
pwhodges
Posted

Are you sure that the wifi is using the same subnet as the wired network?  They can be different to allow for controlling guest connectionss, for instance. 

If the subnet is different, you can add it to the local subnet list in Emby; you may also need to ensure that the router is passing the connection through from the wifi to the main local net (the reason for it to be different, if it is, is precisely to to prevent this, so it may be easiest to turn off any guest routing altogether).

Paul

Posted

Ah interesting @pwhodgesI'll try and find if it matters if i'm on the same subnet. I do have a guest wifi setup for security reasons.

Just ran my pc with ethernet + vpn + wifi guest to see ipconfig /all. I'm a networking noob so maybe you can see something I'm doing wrong.

 

image.thumb.png.43fdb6d94cbe157926aafa8fbd9c441c.png

pwhodges
Posted

By covering up the actual IP addresses (which, being internal, are not a security risk) you have removed the exact information required to make any further comment on this!

Paul

Posted

Ah I see. Will this do?

image.thumb.png.f966a00e693660521e110419dbeae504.png

  • 3 weeks later...
Posted

No, also life happened so didnt have the time anymore sadly.

Posted
On 10/20/2024 at 11:33 AM, ZuluKing91 said:

My ports are setup in Win 11 Firewall to let through 8096 and 8620.

Was that a type on the 8620?  Emby normally used 8096 and 8920.

Check windows firewall to make sure those two ports are open for both private and public networks.

On 10/20/2024 at 11:33 AM, ZuluKing91 said:

I've setup my router to allow ipv6, setup port forwarding for Emby Server with my-ip-adress port 80, my-ip-adress port 81, my-ip-adress port 443

  • I've setup a static ip adres which is the same as in my port fowards. (ipconfig tells me this is the case)

The above are three separate port forwards you have setup?
What are you doing with ports 80, 81 and 443?
Where are your ports for 8096 and 8920?

You can for example allow:
all inbound port 80 traffic - > server IP port 8096
all inbound port 443 traffic - > server IP port 8920
But then you need to change the public port numbers in the network menu settings

You didn't tell us anything about the nginx setup which determine how many items in the network settings menu need to be configured.
For example, you'll have your router forward ports to what nginx is setup to listen on.
You'll need to have either Emby or nginx configured to handle your domain and certificates.
Typically, you'll have nginx sending traffic to Emby over 8096 port unencrypted and have Emby setup to use reverse proxy mode with options to look for actual client IP address in the packet headers.  Emby's public ports will then be set to the ports forwarded on your router.  Emby's public port assignments aren't what Emby listens on but how the packets are marked to allow the port forwarding and nginx forwarding trickery to take place.

Carlo

Posted

I have to check some time in the future. My house is getting revamped and I can't reach my server for a while.. like I said. Live happened and don't have the time for it right now.

 

Posted
On 11/17/2024 at 12:44 PM, ZuluKing91 said:

I have to check some time in the future. My house is getting revamped and I can't reach my server for a while.. like I said. Live happened and don't have the time for it right now.

 

Ok that would be great. Thanks.

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...