localhost导致MQTT本地客户端与本地broker无法连接问题
今天在调试时发现一个localhost问题: #define EMBER_AF_PLUGIN_TRANSPORT_MQTT_BROKER_ADDRESS tcp://localhost:1883 #define EMBER_AF_PLUGIN_TRANSPORT_MQTT_BROKER_ADDRESS_LENGTH (20) 当MQTT客户端设置本地地址为localhost:1883时,无法连接本地broker. #define EMBER_AF_PLUGIN_TRANSPORT_MQTT_BROKER_ADDRESS tcp://127.0.0.1:1883 #define EM
用户评论