我已经在AWS的ec2机器上安装了mosquito server。 因此,我在监听中添加了入站端口1883:
所以问题是,当我用MQTT fx呼叫我的IP时: 端口1883上的xxx.xxx.xxx.xxx,不起作用。 仍在等待,最后我读到:
2019-03-27 09:42:41,453 INFO --- ScriptsController : Clear console.
2019-03-27 09:42:41,454 ERROR --- BrokerConnectService : MqttException
2019-03-27 09:47:07,021 INFO --- BrokerConnectorController : onAdHocConnect
2019-03-27 09:47:07,035 INFO --- BrokerConnectorController : connecting to xxx.xxx.xxx.xxx port 1883
2019-03-27 09:47:07,036 INFO --- ScriptsController : Clear console.
2019-03-27 09:47:07,038 INFO --- MqttFX ClientModel : MqttClient with ID xxxxxxxxxxxxxxxxxxxxxx assigned.
2019-03-27 09:48:07,067 ERROR --- MqttFX ClientModel : Error when connecting
那我错了吗?谢谢