Jump to content

crusher11

Recommended Posts

rodainas

Then make it simpler again

no nginx, now no cloudfare, no domain name

 

Just you, your router, and emby server


So publicip:publicembyport

 

Edited by rodainas
  • Like 1
Link to comment
Share on other sites

vdatanet
Just now, rodainas said:

Then make it simpler again

no nginx, now no cloudfare, no domain name

 

Just you, your router, and emby server

 

 

Yes, Step by step is always a good idea. When one configuration works, then we test the next.

  • Agree 1
Link to comment
Share on other sites

crusher11
1 minute ago, rodainas said:

Then make it simpler again

no nginx, now no cloudfare, no domain name

 

Just you, your router, and emby server


So publicip:publicembyport

 

Still no dice.

Link to comment
Share on other sites

crusher11

Well the Emby ports aren't forwarded anymore, because I changed the port forwarding settings in the router to forward 80 to 80 and 443 to 443, because that's what was in the NGINX config. So it not working is correct, if you think about it that way.

Link to comment
Share on other sites

vdatanet

7241 to 8096

And test:

http://yourip:7241 - should work

http;//yourip:8096 - should not work

Edited by vdatanet
  • Agree 1
Link to comment
Share on other sites

crusher11
28 minutes ago, vdatanet said:

7241 to 8096

And test:

http://yourip:7241 - should work

http;//yourip:8096 - should not work

Both work.

On 7241 I get the Guest account, and options to manually log in or reset my password. On 8096 it takes me directly to the manual login screen.

Link to comment
Share on other sites

crusher11

The serverId string is different on each port, for the record.

This is the result of entering RemoteIp:port in the address bar, nothing else.

The Guest account has all the "hide this user" options disabled. So the 7241 result is what should happen, I have no idea why 8096 is enforcing manual login.

Also no idea why the server IDs are different.

Screenshot 2021-07-11 05.27.24.png

Screenshot 2021-07-11 05.27.38.png

Link to comment
Share on other sites

rodainas
4 minutes ago, crusher11 said:

Both work.

On 7241 I get the Guest account, and options to manually log in or reset my password. On 8096 it takes me directly to the manual login screen.

The difference on screens should be cookies.

Link to comment
Share on other sites

vdatanet

My question is: If port 8096 is not forwaded in router why does it work?

  • Like 1
Link to comment
Share on other sites

crusher11
9 minutes ago, rodainas said:

The difference on screens should be cookies.

In an incognito window? 

Link to comment
Share on other sites

rodainas
22 minutes ago, vdatanet said:

My question is: If port 8096 is not forwaded in router why does it work?

The same happened with my vps, I just blocket it.

But the difference is with the vps there is no router just the machine with the public ip address, so no router to map or forward anything.

Comes to my mind, any possibility the emby server is on DMZ?

Edited by rodainas
Link to comment
Share on other sites

GrimReaper
51 minutes ago, crusher11 said:

Also no idea why the server IDs are different.

Do you have a rogue server instance running somewhere? What does device.txt from the Emby-Server/programdata/data folder show you? What is the string inside (that would be your serverId)? And did you try to actually login to that 8096 one?

Edit: To clarify, that seem suspicious like another instance with default settings and UPnP enabled; since it is on another port, it will happily co-exist with your main server.

Edited by GrimReaper76
Append
  • Like 1
Link to comment
Share on other sites

vdatanet

Disable automatic port forwarding in Emby, even better, turn it off on your router

Link to comment
Share on other sites

crusher11

Ooh. I set up a test instance on my Shield. Couldn't ever find the app in my apps list so I couldn't uninstall it. Wonder if that's it. 

Link to comment
Share on other sites

vdatanet

In my opinion, the next step is to set up cloudflare (first without nginx)

In your router, set:

emby's public port to emby's private (non ssl and ssl)

Setup your cloudflare domain

Edited by vdatanet
Link to comment
Share on other sites

vdatanet
1 minute ago, crusher11 said:

How do I find Emby's private ports?

 

Sorry, local. Default are 8096 and 8920. So you need 7241 to 8096 and 4343 to 8920

Link to comment
Share on other sites

crusher11
1 minute ago, vdatanet said:

Sorry, local. Default are 8096 and 8920. So you need 7241 to 8096 and 4343 to 8920

The domain still redirects to port 5000.

Link to comment
Share on other sites

vdatanet
1 minute ago, crusher11 said:

The domain still redirects to port 5000.

Test this:

Set Emby's public ports to 80 and 443

Set router forwading 80 to 8096 and 443 to 8920

  • Like 1
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...