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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南