0

I wantmy mosquitto MQTT broker to be connect as IP instead of localhost. Currently I tried to modify the mosquitto.conf with:

listener 1883 0.0.0.0

But it doesn't work, it keep showing disconnected from server:

My full conf file : https://justpaste.it/1rdep

enter image description here

terry555
  • 31
  • 9
  • 1
    You need to either supply a username/password or allow anonymous connections as well as binding to something other than localhost. – hardillb Aug 23 '21 at 12:21
  • @hardillb Thanks for ur respond, i allow anonymous and it worked. I remember last time no need to turn on the anonymous right ? – terry555 Aug 23 '21 at 13:43
  • Read the release notes linked to in the accepted answer on the duplicate – hardillb Aug 23 '21 at 15:24

0 Answers0