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

질문됨 일 년 전216회 조회
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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠