MQTT: allow anonymous
Revision as of 09:19, 20 May 2017 by Onnowpurbo (talk | contribs)
sumber: https://mosquitto.org/man/mosquitto-conf-5.html
Agar di ijinkan login tanpa username & password, edit
vi /etc/mosquitto/mosquitto.conf
isi
allow_anonymous [ true | false ]
Nilai di atas menentukan apakah client di ijinkan untuk connect tanpa memberikan username. Jika di set false, maka client harus memberikan username. Default "true"
Referensi