This is crazy… can mosquitto work in Windows 11?
I had it working without any user name and password to test Node Red, but then I added user name and password, and suddenly the service stopped working in Task Manager from Windows..
Somehow I got it briefly working in Node Red (installed in my same computer), and from my phone, but it stopped working again…
I deleted and reinstalled it…. the logs were not working, so I deactivated the logs…
Current status???
Node Red doesn’t connect (from my computer)
My phone doesn’t connect (I am using an MQTT Broker app)
What can I do???… I spending all day just because I added username and password.
the config looks like this:
Explicit listener on all interfaces (this becomes the primary/default)
listener 1883 0.0.0.0
protocol mqtt
allow_anonymous false
password_file C:\Program Files\mosquitto\passwdWebSockets listener (optional, on all interfaces)
listener 9001 0.0.0.0
protocol websockets
allow_anonymous false
password_file C:\Program Files\mosquitto\passwdLogging
log_dest file “C:\mosquitto-logs\mosquitto.log”
log_type all
log_timestamp true
connection_messages true