Webserver “Connection Lost” and no functionality

Hi, I’m running Kodi 17.1 on debian testing.

Although I’ve activated the webserver interface, it has never worked for me. I can load the front page but as soon as I try to do anything, a red error bar appears saying connection lost.

Can anyone help me to resolve this?

Thanks,

Geoff