Kodi Install prevent openhab from starting

Hi All

I recently followed this tutorial to install Kodi https://www.raspberrypi.org/forums/viewtopic.php?t=99866

and now i cant start openhab,it just hangs.

After a reboot of the Pi2 it cant be started whether Kodi is running or not.

Could anyone help please

EDIT: I have noticed some "address is already in use " errors in the openhab log. After restarting openhab I noticed that it seems to be running but i cant view it in a browser or via the Habdroid app.

Many Thanks

I suspect Kodi uses one or more of ports 8080, 8443, or 5555. OH requires those ports by default and if Kodi comes up first and grabs those ports OH cannot function (and vise versa).

I believe you can change the default ports on OH by editing /etc/defaults/openhab or by editing /usr/share/openhab/bin/openhab.sh

I’m not sure which one takes precedence.

Ok Cheers. I’ll give it a go