Jump to content

Please help with HTTPS out of network connections


Go to solution Solved by Lessaj,

Recommended Posts

Posted

Im really sorry if this is the wrong place to put this I don't really know what im doing. 

I've been pulling my hair out over this for the past few days and I know I probably seem really stupid but I'm just so lost. I am trying to set up my EMBY server so that it can be accessed remotely. I have managed to get it working with HTTP but I cannot get it to work with HTTPS. Ive tried following this guide 

and got all the way to the end but still could not access out of network. I also cannot seem to get Port 8920 to show as open even though it is enabled on my firewall and forewarded on my router. I know im probably missing a bunch of information so please feel free to ask any questions and thank you to anyone that can help.

Posted

Hello Geophph,

** This is an auto reply **

Please wait for someone from staff support or our members to reply to you.

It's recommended to provide more info, as it explain in this thread:


Thank you.

Emby Team

Posted

Sorry to necro this thread but I could really use some help. I think I have set everything up, I can see my 8920 port is open andI have generated the SSL Cert using this guide however when I click the address here:

Screenshot2025-10-19085702.jpg.b229c6452be1cb5814b4173b440676ba.jpg

 

All I get is this

Screenshot2025-10-19085733.jpg.0a3d08759e2137833d033dffc3565c82.jpg

 

Im just a bit lost and could really use some guidance. Thanks

Posted (edited)

I have performed a restart so here are some more recent logs. I am able to connect if i use my public IP pointing at the 8920 port however I get the security risk ahead screen and that IP must be set in the emby external domain setting. However when I try and use my Domain name thepage comes up as server not found. Im sure I've done something wrong or im missing a step but I just cant for the life of me figure it out. I got my domain from metaname if that helps. Thank you again.embyserver.txtembyserver-63896468003.txthardware_detection-63896468021.txt

Edited by Geophph
  • Solution
Posted (edited)

It looks like your server is listening on 8920 so that's good that means your certificate should be working otherwise it can't start the listener.

  • If you use a service like canyouseeme.org does it show 8920 as open?
  • From within your network when you connect to https://192.168.0.42:8920 and you view the certificate, does the CN (common name) of the certificate match your domain name? It's normal to have a security warning since you're using the IP, this is just to make sure it matches what you expect.
    • If yes, when you perform an nslookup on your domain, does it match your public IP?
    • If yes, then you need to use the domain name to access it externally, not the IP, since the certificate would not be valid against the IP.
  • You can further test this on your local system by putting in an entry in your hosts file for your domain which points to 192.168.0.42, this will bypass the DNS lookup resolving to your external IP and use the local IP, but still use your domain name. You should not get a security warning using your domain name at this point.
Edited by Lessaj
Posted (edited)

@LessajHoly cow it works! I was able to see the open port on Canyouseeme.org. In your next step I could see the certificate validation had the correct common name however I couldn't quite understand what you meant with nslookup (Again im really new to all this so it probably seems dumb). I logged into my domain registrar and pointed the domain to my public IP and hey presto it just started working! Thank you so much! Now to see if it can be accessed outside of my network.

Edited by Geophph
  • Thanks 2
Posted

I'm not sure what OS you're using but I'm going to assume it's Windows. You can run this in a command prompt (obviously replace my.domain.name with your domain).

nslookup my.domain.name

And that will perform a DNS lookup against your configured DNS, which is probably your router or ISP gateway, and it won't know what it is so it'll go out to the public DNS servers that it knows to use (could be your ISP DNS, Google, Cloudflare, Quad9... Whatever is configured on your upstream router) and return your public IP. Hopefully your domain registrar has a way to keep that up to date automatically, maybe with some kind of client that runs on the machine. Your public IP shouldn't really change unless you reboot your ISP gateway, but it still can, so you'd want it to stay updated automatically.

Posted (edited)

Yeah using windows. Ive done that and it has come back with my public ip and google dns. Next step once it actually works will definitely be to try and get my registrar to update that ip automatically. I dont see any option on Metanames website to do that but if I have to do it manually im not gonna lose sleep over it. Ill have to renew the ssl cert anyway so really its water off a ducks back.

Edited by Geophph
  • Like 1
Posted

Please let us know how things go. Thanks.

Posted

Been monitoring it over the last few days and haven't had any issues. Cheers for all the help.

  • Thanks 2

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