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

asked a year ago232 views
1 Answer
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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions