Hi everyone,
I'm trying to use the WebSocket JSON-RPC API on my LibreELEC setup to interact with Kodi. As I understand, the WebSocket service should run on TCP port 9090 by default, but I can't seem to connect to it from another device.
Here's what I've checked so far:
- Kodi Settings:
- I've enabled the following under Settings > Services > Control:
- "Allow remote control via HTTP"
- "Allow remote control from applications on this system"
- "Allow remote control from applications on other systems"
- I've enabled the following under Settings > Services > Control:
- SSH and Netstat:
I SSH'd into LibreELEC and ran:
This does show port 9090 as open or listening.
tcp 0 0 127.0.0.1:9090 0.0.0.0:* LISTEN
- Firewall:
I'm not sure if LibreELEC has any default firewall blocking this port. I also ran:
But there doesn’t seem to be any explicit rule blocking it.
- Restart Kodi:
I've tried restarting the Kodi service using:
But it didn't resolve the issue.
Is there anything additional I need to configure to enable TCP port 9090? Do I need to edit advancedsettings.xml or any other configuration file?
I’d appreciate any advice or pointers on how to get this working. Thank you in advance!