How to connect local host with mqtt client/broker??
조회 수: 18 (최근 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!