Jump to content

emby is taking over port 80 even though it shouldn't


Recommended Posts

iburnthings
Posted
 

I know this is probably something dead simple but I'm not exactly a pro at Nginx or Linux yet.

I have a Wordpress MU network configured for port 80 (I can access this on my.site on the LAN)

I have phpmyadmin on port 80 in my /etc/hosts to go to http://phpmyadmin so it is only accessible on the local machine

Emby Server was also installed to go to port 8096 (I can access this LAN or WAN) Webmin is installed on port 10000 (I can access this LAN and WAN)

If I go to my.site from WAN the emby-server page comes up where the WP site should be. If I uninstall emby-server then I get ERR_CONNECTION_REFUSED

however if I access my.site from INSIDE my network the wordpress site loads up regardless of emby being installed or not.

requested info $ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
$

 

Posted

are you sure you don't have some kind of internal forwarding or redirect that you're forgetting about? we don't have anything in the code touching port 80 and in fact most linux distros would require you to run emby server as sudo in order for us to even be authorized to bind to it.

iburnthings
Posted (edited)

There must've been some kind of forwarding happening but it makes NO sense.

Adding a firewall exception for 8096 resolved the issue.

 

my.site is no longer redirecting to emby

my.site:8096 is though.. just how I want it.

 

ok maybe not exactly how I want it but that I think is beyond the scope of this forum.

I want my.site/emby or something to work but I'll figure that out myself.

Edited by iburnthings

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