How to connect local host with mqtt client/broker??
12 次查看(过去 30 天)
显示 更早的评论
tried:
myMQTT = mqtt('tcp://broker.hivemq.com')
- myMQTT = mqtt('tcp://localhost')
- myMQTT = mqtt('localhost')
- myMQTT = mqtt('LocalHost')
- myMQTT = mqtt('tcp://LocalHost')
- myMQTT = mqtt('127.0.0.1')
- myMQTT = mqtt('tcp://127.0.0.1')
but for everything I get error. Plz help me guys Thanks
2 个评论
回答(1 个)
Sylvain
2020-1-24
Check your IP adress of your localhost (ipconfig or ifconfig if you are linux user): this would be the address to use : 'tcp://000.000.000.000'
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!