安装了Mosquito的AWS EC2不起作用

时间:2019-03-27 09:19:05

标签: amazon-web-services amazon-ec2 mqtt

我已经在AWS的ec2机器上安装了mosquito server。 因此,我在监听中添加了入站端口1883:

enter image description here

,在台式机遥控器的AWS EC2上,我看到: enter image description here

所以问题是,当我用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

那我错了吗?谢谢

0 个答案:

没有答案