Jump to content

Emby Change default Port on Version 3.5.0.0


Recommended Posts

SilentStorm
Posted

Emby Change default Port on Version 3.5.0.0

 

 

I am very disappointed :-/

 

I pay for emby each year to support you

 

 

But since the update I can not use old users

 

And I can not change the port which is very bad

 

 

I use Ubuntu 64 bit

 

 

 

 

Posted

What port are you trying to use? What user are you running Emby server as? Linux doesn't allow the binding of ports below 1024 for non root users.

SilentStorm
Posted (edited)
I'm on Ubuntu as a root user

 

 

I do not have to write sudo because there is root

 

I'm trying to change port 90

 

I can live with the fact that I have to recreate all users

 

but I do not live with the fact that you can not change the port

Edited by SilentStorm
Posted

Why do you feel that you can't change the port? what happens when you try?

SilentStorm
Posted (edited)
I change the port in 90 and after rebooting the emby server

 

emby can still be reached via port 8096

 

although port 90 can be seen in the Admin Control Panel

Edited by SilentStorm
SilentStorm
Posted

can i load user from old emby into to the new emby ?

 

 

who can i change the work Direktory from emby ?

 

example from the old emby

 

is there something in the new emby?

 

-------

## To change the defaults add any of the following settings below the comments
##
## EMBY_USER=       #$EMBY_USER, username to run Emby under, the default is emby
## EMBY_GROUP=      #$EMBY_GROUP, Emby server group where Emby user belongs
EMBY_DIR=/media/mymedia/emby_tmp
## EMBY_BIN=        #$EMBY_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
EMBY_DATA=/media/mymedia/emby_tmp
## EMBY_PIDFILE=    #$EMBY_PIDFILE, the location of emby.pid, the default is /var/run/emby/emby-server.pid
## EMBY_ADD_OPTS=   #$EMBY_ADD_OPTS, additional options to pass to the Emby server executable, beyond ffmpeg, ffprobe and restart
## MONO_BIN=        #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen
## MONO_OPTS=       #$MONO_OPTS, list of additional options to pass to mono binary
## MONO_ENV=        #$MONO_ENV, list of environment variables for running mono binary
##
## EXAMPLE if want to run as different user
EMBY_USER=root
## otherwise default emby is used
Posted

It looks like you are using our old (now legacy) install package. What is the architecture, x64?

Posted

 

can i load user from old emby into to the new emby ?

 

 

who can i change the work Direktory from emby ?

 

example from the old emby

 

is there something in the new emby?

 

-------

## To change the defaults add any of the following settings below the comments
##
## EMBY_USER=       #$EMBY_USER, username to run Emby under, the default is emby
## EMBY_GROUP=      #$EMBY_GROUP, Emby server group where Emby user belongs
EMBY_DIR=/media/mymedia/emby_tmp
## EMBY_BIN=        #$EMBY_BIN, full path of MediaBrowser.Server.Mono.exe the default is /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe
EMBY_DATA=/media/mymedia/emby_tmp
## EMBY_PIDFILE=    #$EMBY_PIDFILE, the location of emby.pid, the default is /var/run/emby/emby-server.pid
## EMBY_ADD_OPTS=   #$EMBY_ADD_OPTS, additional options to pass to the Emby server executable, beyond ffmpeg, ffprobe and restart
## MONO_BIN=        #$MONO_BIN, full path of mono binary, the default is /usr/bin/mono-sgen
## MONO_OPTS=       #$MONO_OPTS, list of additional options to pass to mono binary
## MONO_ENV=        #$MONO_ENV, list of environment variables for running mono binary
##
## EXAMPLE if want to run as different user
EMBY_USER=root
## otherwise default emby is used

 

 

These are not used by the new install package.

SilentStorm
Posted
 

This should only be an example 

 

I have installed the new emby..... Version 3.5.3.0

 

 

 

I solved the problem differently

 

I have forwarded port done that way now, ports over 1024 are allowed I have chosen Port 2000

 

and then use Ubuntu port forwarding 

 

sudo iptables -t nat -A PREROUTING -p tcp --dport 90 -j REDIRECT --to-port 2000

 

it runs very good

 


maybe I can help someone with that

 

Sorry for the bad english

 

 

But last question can I take the old users to the new emby?

 

 

 

@Luke 

 

thanks for your help

 

 

Posted

Are these local users, or have you invited them via emby connect?

Posted

I'm using Linux and I've had no problem changing the port.  The recommended way I do this is by locating the system.xml file inside the /var/lib/emby/config directory.  There are 4 port numbers referenced.  Change them and then start the instance.  The only time I've ever seen something not working properly regarding changing the port was with Emby on KODI, but I'm working with Angel on resolving that.

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