agolia 0 Posted January 2, 2021 Posted January 2, 2021 (edited) Hi, I recently deployed Emby using a container image on DockerHub (emby/embyserver). Everything works great locally but I can't access the service remotely. I have a double NAT setup but I'm able to expose ports and port forward to other containers in my environment externally but not the Emby container. Seems to be a problem specific to Emby. Has anyone else run into this issue? Emby is correctly detecting my external IP and my port forwarding rules are configured the same way I do for other containers that are accessible. Thanks in advance. Edited January 2, 2021 by agolia
mastrmind11 722 Posted January 2, 2021 Posted January 2, 2021 (edited) 11 hours ago, agolia said: Hi, I recently deployed Emby using a container image on DockerHub (emby/embyserver). Everything works great locally but I can't access the service remotely. I have a double NAT setup but I'm able to expose ports and port forward to other containers in my environment externally but not the Emby container. Seems to be a problem specific to Emby. Has anyone else run into this issue? Emby is correctly detecting my external IP and my port forwarding rules are configured the same way I do for other containers that are accessible. Thanks in advance. Try starting the container in host mode. docker run -d \ --name emby-server \ --restart unless-stopped \ --network="host" \ --volume /home/docker/emby/config:/config \ --volume /storage:/storage \ --device /dev/dri/renderD128 \ --publish 8096:8096 \ --publish 8920:8920 \ --env UID=1008 \ --env GID=117 \ --env GIDLIST=1000,1002,44 \ emby/embyserver:latest Edited January 2, 2021 by mastrmind11
agolia 0 Posted January 2, 2021 Author Posted January 2, 2021 Thanks for the reply. I'm deploying a stack on Swarm so unfortunately the network mode option is ignored. I tried by deploying a single standalone container using --network="hosts" but it is still not accessible remotely.
mastrmind11 722 Posted January 3, 2021 Posted January 3, 2021 Seems odd. I can access mine remotely. Do you have a proxy set up or anything else non-standard in the way?
agolia 0 Posted January 3, 2021 Author Posted January 3, 2021 No proxy. I have my Verizon router which connects to my Ubiquiti Unifi security gateway. My Verizon router forwards port 8096 to the security gateway. The security forwards 8096 to my Swarm cluster. Same setup works for all of my containers/ports except for the Emby container.
Solution Luke 42077 Posted January 3, 2021 Solution Posted January 3, 2021 You could always try a different public facing router port.
agolia 0 Posted January 3, 2021 Author Posted January 3, 2021 Thanks for the reply. Just tried that but unfortunately same result.
agolia 0 Posted January 4, 2021 Author Posted January 4, 2021 Thanks for all the help. It appears that for some reason my FIOS router wouldn't forward port 8096 (or 8095) so I decided to try something in a lower range and it worked. No idea why but it'll do for what I need. Thanks again
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now