I added the following to the mosquitto add-on in hassio:
“customize”: {
“active”: true,
“folder”: “mosquitto”
},
in /share I have a mosquitto directory with a conf file that contains:
listener 8080
protocol websockets
When I restart the mosquitto add-on it reports:
starting version 3.2.2
1509573381: mosquitto version 1.4.12 (build date 2017-06-01 13:03:46+0000) starting
1509573381: Config loaded from /etc/mosquitto.conf.
1509573381: Opening websockets listen socket on port 8080.
1509573381: Opening ipv4 listen socket on port 1883.
1509573381: Opening ipv6 listen socket on port 1883.
Looks like websockets is started, but, when I try to use HiveMQ to access 8080 I get errors (it works OK for some test sites).
And, netstat reports:
jeff@xHass:~$ netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8123 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.100:445 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.100:139 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN
tcp 0 0 192.168.0.100:8300 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::1883 :::* LISTEN
tcp6 0 0 :::5355 :::* LISTEN
tcp6 0 0 :::8883 :::* LISTEN
jeff@xHass:~$
1883 shows up, but not 8080.
Any ideas would be appreciated.