Jump to content


Photo

Unable to access Emby over domain name

domain

  • Please log in to reply
3 replies to this topic

#1 MintCollie OFFLINE  

MintCollie

    Newbie

  • Members
  • 2 posts

Posted 28 July 2019 - 10:50 PM

Hello everyone! Im pretty new at emby, I installed it earlier this week and so far have been loving it on my local devices. Today I thought I would tackle getting it setup outside my network. But im running into an issue. 

I'm on version 4.2.0.40 on a ubuntu 18.04 host.

 

Whenever I set emby to my domain im unable to access it outside my network. If I clear the "External Domain" field and restart my server so that its back to my external IP im able to access it outside my network just fine. Its only when I set the "External Domain" field does it stop connecting.

 

I have both local ports and public ports, port forwarded and it seems to be resolving to the local port instead of the public one that I set.

 

for example if I change the public port to 8095 and the local port to 8096 and port forward both the 8095 and 8096 it will connect to 8096 rather then 8095.(checking the port on canyouseeme.com says connectionrefused)

But if I change it to my domain it wont connect to either.

 

I tested to make sure I have my domain set up correctly as I quickly set up a nginx webpage.

 

Is there any solution to my issue?

 

EDIT: after playing around with settings, when I set the domain its still accessible via my external IP just not the domain.


Edited by MintCollie, 28 July 2019 - 11:21 PM.


#2 MintCollie OFFLINE  

MintCollie

    Newbie

  • Members
  • 2 posts

Posted 28 July 2019 - 11:43 PM

Hello everyone! Im pretty new at emby, I installed it earlier this week and so far have been loving it on my local devices. Today I thought I would tackle getting it setup outside my network. But im running into an issue. 

I'm on version 4.2.0.40 on a ubuntu 18.04 host.

 

Whenever I set emby to my domain im unable to access it outside my network. If I clear the "External Domain" field and restart my server so that its back to my external IP im able to access it outside my network just fine. Its only when I set the "External Domain" field does it stop connecting.

 

I have both local ports and public ports, port forwarded and it seems to be resolving to the local port instead of the public one that I set.

 

for example if I change the public port to 8095 and the local port to 8096 and port forward both the 8095 and 8096 it will connect to 8096 rather then 8095.(checking the port on canyouseeme.com says connectionrefused)

But if I change it to my domain it wont connect to either.

 

I tested to make sure I have my domain set up correctly as I quickly set up a nginx webpage.

 

Is there any solution to my issue?

 

EDIT: after playing around with settings, when I set the domain its still accessible via my external IP just not the domain.

 

Ok I actually figured it out. Turns out cloudflare only likes some http & https ports such as the ones listed here https://support.clou...lare-work-with-

 

changed the ports to that and it worked



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153382 posts
  • Local time: 08:01 PM

Posted 28 July 2019 - 11:45 PM

Hi, the public port settings are for display only, so that the emby server dashboard can display your correct remote address. they don't actually have much functional impact, therefore this is not really true:
 

seems to be resolving to the local port instead of the public one that I set.

Why do you feel this happened? This is something you would have to configure at the level of our router and/or reverse proxy, to make sure the public port is forwarding to the local port.



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153382 posts
  • Local time: 08:01 PM

Posted 28 July 2019 - 11:45 PM

Ok I actually figured it out. Turns out cloudflare only likes some http & https ports such as the ones listed here https://support.clou...lare-work-with-

 

changed the ports to that and it worked

 

thanks for the feedback.







Also tagged with one or more of these keywords: domain

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users