Websocket server only listening on tcp6

Hi

I’m trying to use 4head on Android as a remote to OSMC (RaspPI 3), and it is unable to connect to the websocket server, I’m running the latest build offered via OSMC update.

Despite trying various things (see below), it is still only listening on tcp6:

osmc@pi:~$ sudo netstat -ntlp | grep kodi
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      323/kodi.bin
tcp        0      0 0.0.0.0:1973            0.0.0.0:*               LISTEN      323/kodi.bin
tcp        0      0 0.0.0.0:36666           0.0.0.0:*               LISTEN      323/kodi.bin
tcp        0      0 0.0.0.0:1085            0.0.0.0:*               LISTEN      323/kodi.bin
tcp        0      0 0.0.0.0:1767            0.0.0.0:*               LISTEN      323/kodi.bin
tcp6       0      0 :::8080                 :::*                    LISTEN      323/kodi.bin
tcp6       0      0 :::36666                :::*                    LISTEN      323/kodi.bin
tcp6       0      0 :::36667                :::*                    LISTEN      323/kodi.bin
tcp6       0      0 :::9090                 :::*                    LISTEN      323/kodi.bin

My latest attempt was to use connmanctl to turn off ipv6, as suggested here:

(noting the dev says this is off by default now).

I’ve also tried editing /etc/sysctl.conf, just in case, with these settings:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

I’ve rebooted the PI a few times now…

Is it necessary to enable ipv6 to get the websocket server to work, or is there another way?