also, here is my mosquitto.conf file
/etc/mosquitto/mosquitto.conf
allow_anonymous false
password_file /etc/mosquitto/pwfile
listener 1883
listener 9001 #–> this was 8883 in my last attempt
protocol websockets
user mosquitto
persistence true
persistence_file mosquitto.db
persistence_location /var/lib/mosquitto/
pid_file /var/run/mosquitto.pid
- is “user mosquitto” line correct, or should that match my “peteusername” from other files
- what is that second listener port supposed to match up with? 9001 and 8883 bot/h seem to not cause an error, but not sure if those ports are actually talking to anything. Should that match another file?
Output of sudo systemctl status “mosquitto.service -l”: