Jump to content

Can't connect to emby server outside home network


jstewart72
Go to solution Solved by Carlo,

Recommended Posts

jstewart72

I cannot connect to my server when I am outside my home network, I had to change from port 8096 to another one because even though I set up port forwarding on my router, it still showed the port as closed. Once I changed it then the port showed open. So even with the open port it still wont connect.

The server is running on a windows 10 machine and tried connecting with the android app on my phone. 

I also have the user set to allow remote connections on emby.

 

I tried the trouble shooting guide and nothing worked on it. 

Link to comment
Share on other sites

I tried the trouble shooting guide and nothing worked on it. 

 

All the steps failed?

 

If not, at which one, did it fail?

 

This is some sort of local network configuration issue.  Most likely an error in the port forwarding (or, perhaps firewall config).

Link to comment
Share on other sites

jstewart72

Windows firewall is off, even so I made a rule in firewall to allow port 443. Also made sure port forwarding was open for 443 on the router.

 

[images removed]

 

5bbe0693578e9_emby3.jpg

Edited by ebr
Removed personal info
Link to comment
Share on other sites

Don't turn Windows Firewall off.  Just make sure the proper rules are in place.

 

You've mapped 443 externally to two different local IP addresses...?

Link to comment
Share on other sites

I can only see that tiny portion of the screen you posted so I'm not positive what I'm looking at but, if it is the port forwarding, then I can't believe your router allowed you to do that...  Remove the one pointing back at your external IP.

 

[i'm also going to remove those images because they contain your public IP address]

Link to comment
Share on other sites

jstewart72

turned firewall back on, left rules in place, changed the port forwarding to just inbound on the wan address which emby states is for remote access, still doesnt connect to server

Link to comment
Share on other sites

I don't know your router but, when you setup port forwarding, the WAN address is already known by the router and what you need to do is point a specific port on that incoming address to a specific IP address and port where you want that traffic to end up.

 

So, you would setup something like this:

 

external port: 443

internal IP :  LOCAL IP of server (e.g. 192.168.1.23)

internal port: 443 (or, whatever you setup as your internal port for your emby server - default for http is 8096 and for https is 8920)

Link to comment
Share on other sites

jstewart72

that is the way I have it. I used the remote ip for the wan and it doesnt work. If you remember I had both of them the local and the wan set up for port 443 and it didnt work

Link to comment
Share on other sites

that is the way I have it. I used the remote ip for the wan and it doesnt work. If you remember I had both of them the local and the wan set up for port 443 and it didnt work

 

In my explanation above, the remote IP was not entered anywhere.  It is the local IP address of your server that needs to be mapped.

Link to comment
Share on other sites

jstewart72

i had it mapped for both the ip addresses shown on the emby server. one is local and the other is remote. I had both of them in the router port forwarding 

Link to comment
Share on other sites

jstewart72

because every time i had the port forwarding to that port. when i would check on canyouseeme.org it would show that port as closed. I even had the firewall rule to dfault port and it would show closed. As soon as I changed it to port 443 the port was open

Link to comment
Share on other sites

@@jstewart72,  I believe you have a setting or two port related that aren't matching between your router and Emby.

 

If you'd like I can try to help you over a TeamViewer session (and phone call) to get this resolved. It would hopefully only take a few minutes.  What I typically do in TeamViewer sessions is just watch and have you make the changes so you see and understand what is being done. I'd just explain the WHY and HOW of what needs to get done.  If this is something you want to do PM me your phone number and download/install TeamViewer so we can use it. https://www.teamviewer.us/downloads/

 

If that's not something you want to do we need more information on your setup to check on. Let's start with this simple question.

From the web admin on Emby go to Advanced under the Expert menu and click on it.  What do you have for:

Local http port number:
Local https port number:
On that same page do you have "Allow remote connections to this Emby Server." checked off (green)?
At the bottom of that page is "Enable automatic port mapping" checked or not?
 
Carlo
Link to comment
Share on other sites

jstewart72

got a couple things goin on right now so cant use team viewer, 

 

local port number 443

local https port number 8920

 

allow remote connections checked

enable automatic port mapping checked

Link to comment
Share on other sites

local port number 443

local https port number 8920

 

So you are trying to send plain http over 443?

 

I agree with Luke.  Step back to all the defaults and go from there.

 

Assuming you have defaults at the server level then, in your router, you would setup:

 

External port:  8096

Local IP address: [the LOCAL/LAN IP address shown on your server]

Local port: 8096

 

Then try [remoteipaddress]:8096 in canyouseeme.org.

 

Notice - the router configuration is to the LOCAL IP address not the remote one :).

Link to comment
Share on other sites

jstewart72

switched it back to 8096 on emby, rebooted server. switched it back on router and firewall, rebooted router went to canyouseeme.org on port 8096 and it failed cant see it port is closed

Link to comment
Share on other sites

Exactly what is the port-forwarding now on the router?

 

Is the server accessible on that port on the internal LAN?

Link to comment
Share on other sites

jstewart72

on can you see me it is checking the remote wan ip (its greyed out and can only put that ip in) on port 8096 and failing

Link to comment
Share on other sites

I forgot to ask for your local Emby server IP address. Hopefully this is static so it doesn't change on you during a reboot. :)  But let's assume your Emby server IP address 192.168.100.15

 

Set the default ports back to

local port number 8096

local https port number 8920

 

Turn off automatic port mapping as doofus suggested.

 

NOW in your router setup you need to forward:

8096 on the WAN IP address to 192.168.100.15 port 8096

8920 on the WAN IP address to 192.168.100.15 port 8920

 

Try can you see me again.  If this doesn't work, as a quick test, turn off firewall and test again at can you see me.  Turn firewall back on.

Let us know how this goes.  If still having a problem,

 

Let us know what your IP is on the Emby server.

Post pics of your router port forwarding setup.

 

Carlo

Link to comment
Share on other sites

Is the server accessible on that port on the internal LAN?

 

Can you get to the server from a browser on a machine on your local network other than the server machine by typing in the localIPaddress:8096?

Link to comment
Share on other sites

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