[wangshumin@CentOSNode2 ~]$ mosquitto_sub -t /+ -h CentOSNode3 -p 5551
Error: Connection refused
Error: Connection refused
[wangshumin@CentOSNode2 ~]$ mosquitto_sub -t /+ -h CentOSNode3 -p 5555
[wangshumin@CentOSNode3 ~]$ mosquitto_sub -t /temperature -p 1883
向MQTT发数据ddd0
[wangshumin@CentOSNode2 ~]$ mosquitto_sub -t /temperature -p 1883
向MQTT发数据ddd0
向MQTT发数据ddd1
向MQTT发数据ddd2
向MQTT发数据ddd3
[wangshumin@CentOSNode1 ~]$ mosquitto_pub -t sensor/room1/temperature -m '26.3'
[wangshumin@CentOSNode1 ~]$ mosquitto_sub -t /temperature -p 1883
向MQTT发数据ddd0
向MQTT发数据ddd0
向MQTT发数据ddd1