Ansicht von 1 Antwort-Thema
  • Autor
    Beiträge
    • #6071
      David GambleDavid Gamble
      Teilnehmer

      I have spent many days trying to get MQTT messages using Mosquitto v2.0 and greater. Finally some success. Mosquitto has upgraded security and Windows Firewall blocks access to Port 1883. See https://www.industrialshields.com/blog/arduino-industrial-1/post/mqtt-troubleshooting-in-windows-413, follow the instructions and create new rules for inbound and outbound messages.
      Good luck, it works for me!

    • #6074
      Matthias RunteMatthias Runte
      Administrator

      You mean as documented on the Mattzobricks website?

      General Section

      (section “MQTT”).

      • #6110
        David GambleDavid Gamble
        Teilnehmer

        Yes I could not connect to the MQTT server until I configured the MS firewall to pass Port 1883. (Windows 10 and Mosquitto 2).

        The proceedure is:

        Windows Defender Firewall window > Advanced Settings > Inbound Rules > New Rule… > Port… > TCP > Specific local ports: 1883 > Allow the connection > Set the Domain, Private and Public as selected > And set a Name: Mosquitto.

        Then, go to Outbound Rules and do the same. See the link above that explains the procedure very clearly

        • Diese Antwort wurde geändert vor 1 Jahr, 1 Monat von David GambleDavid Gamble.
Ansicht von 1 Antwort-Thema
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.