Config broker MQTT

0

Hi, I installed mosquitto and mosquitto_client on EC2. I configured user and password. It works fine when I publish or subscribe from EC2, but it doesn't work if i try from outside. A added the security group inbound on 1883 port and all for outbound. What do I missing config? Thanks

已提问 2 年前247 查看次数
1 回答
0

You must ensure that you all of this ports allows in your security group inbound rules:

  • 1883 : MQTT, unencrypted
  • 8883 : MQTT, encrypted
  • 8080 : MQTT over WebSockets, unencrypted
  • 8081 : MQTT over WebSockets, encrypted
AWS
vtjean
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则