My TV is broken and I cannot read the top 25% of the screen so I cannot use the on-screen menus (Settings->Services->Webserver)
I need to change Kodi default port for http (80) to install lighttpd running on port 80.
Is there a config file I can tweak and a command to kill/restart Kodi on the new port ?
BTW I see that Kodi opens quite a number of ports other than http, what are they used for ?
Opps seems it does not work … changed 80 to 8080, restarted Kodi and even rebooted but the http server is still on port 80 (and I checked with the browser it’s Kodi )
EDIT: checked … that value gets rewritten in the guisettings.xml file to the original port 80 every times Kodi is restarted or the Vero/OSMC rebooted.
So there must be some other config file overriding ?!?
Any manual change to guisettings.xml must be done when Kodi is not running. Kodi writes out guisettings.xml on exit this overwrites the change you made while it was running.
Well, in systemd, my way would have been more technically proper, but at the moment I was responding, I was away from my pi to test @fzinken’s command for function. Glad you got it sorted.