Jump to content

Where is the config file that holds the port mapping?


Recommended Posts

bigalpha
Posted

I was messing around trying to get my server accessible from a private domain.  I changed the ports on my server to match this post.  I'm now unable to access it via the LAN IP or the remote IP.  These were working just fine before I touched things.  

I'm wondering how to manually update this via command line since I can't access the GUI anymore.  Previous paths I came across while searching didn't pan out.

The only complicating factor is that I have the server installed in an LXC in proxmox. Any help would be appreciated.

seanbuff
Posted
14 minutes ago, bigalpha said:

I'm wondering how to manually update this via command line since I can't access the GUI anymore.

You can use a text editor to manually edit the following lines in: /Emby-Server/programdata/config/system.xml

  <HttpServerPortNumber>8096</HttpServerPortNumber>
  <HttpsPortNumber>8920</HttpsPortNumber>
bigalpha
Posted

Apologies if I'm missing something obvious, but I'm a linux novice.

I tried this command in both the host and container, and the file did not exist in either location.

nano /Emby-Server/programdata/config/system.xml

 

seanbuff
Posted
6 minutes ago, bigalpha said:

I tried this command in both the host and container, and the file did not exist in either location.

Sorry that was an example. I don't have a linux system so am unsure of the correct full path.

Typically it would be something like /opt/emby-server/.../.../.../ -- but I have no experience with LXC on Proxmox

bigalpha
Posted

Oh gotcha.  Do you know if the config always located in system.xml?  

seanbuff
Posted
5 minutes ago, bigalpha said:

Do you know if the config always located in system.xml? 

Yes, that is the file you want ...the full path to it may be different but it should always be in '.../programdata/config/system.xml' as per my original comment

bigalpha
Posted

Thanks for the lead. I'll poke around some more and see if I can find it!

 

seanbuff
Posted
7 minutes ago, bigalpha said:

Quick follow-up...

Great, thanks for following up and glad you got it sorted!

  • Like 1

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