Ipad does not connect

I installed OSMC on raspberry. It worked fine. Then I needed to run another program on the raspberry so I installed cron, Apache2 and PHP. The new program also runs and OSMC as well.
However, when I tried to connect with my Ipad, no connection can be found.
HPPT access is enabled. I changed ports, (8082) but this did not help. I can connect to Kodi through other computers via HPPT (http://xxx.xxx.xxx.xxx:8082) and also on the Ipad through Safari.
But the app refuses connection. Anyone an idea?.
I checked the logfile and get a warnind that nss-myhostname is not installed, but that should (imo) not be the problem.
Anyone an idea?

Item has been resolved. After several reboots all of a sudden system started working…

Show us the Apache log