Because my Kodi-machine uses DHCP and therefore might have it's IP-address changed, I setup the Kodi-app to use the hostname. This works fine when I just set it up.
But after a while, where Kodi has been switched off, it is unable to connect. When I checked the settings I noticed it was trying to connect to the external IP-address instead of the internal. I am able to fix this by saving the hostname again, but the issue appears again after some time.
Because my Kodi-machine uses DHCP and therefore might have it's IP-address changed, I setup the Kodi-app to use the hostname. This works fine when I just set it up. But after a while, where Kodi has been switched off, it is unable to connect. When I checked the settings I noticed it was trying to connect to the external IP-address instead of the internal. I am able to fix this by saving the hostname again, but the issue appears again after some time.