公共MQTT服务器

    本文地址:http://tongxinmao.com/Article/Detail/id/170

    公共MQTT服务器


    mq.tongxinmao.com  


    在线客户端:

    http://www.tongxinmao.com/App/Detail/id/126



    TCP端口: 18831   

    WEBSOCKET端口: 18833




    MQTT测试服务器2:


    test.mosquitto.org


    端口


    1883 : MQTT, unencrypted

    8883 : MQTT, encrypted

    8884 : MQTT, encrypted, client certificate required

    8080 : MQTT over WebSockets, unencrypted

    8081 : MQTT over WebSockets, encrypted





    mosquitto_sub -h mq.tongxinmao.com -p 18831 -u TEST -P TEST -t  "/publish/TEST/gpio" -v

    mosquitto_pub -t /publish/TEST/gpio -h mq.tongxinmao.com -p 18831 -u TEST -P TEST -m "{\"pin\":17,\"value\":0}"


    说明: TEST用户只能发布或订阅/publish/TEST/开头的主题


    需要其他测试帐号请联系我


    上一篇:phpstorm/ jetbrains licence server
    下一篇:mqtt java demo