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

demandé il y a un an216 vues
1 réponse
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions