MQTT: allow anonymous

From OnnoWiki
Jump to navigation Jump to search

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


Pranala Menarik