Mosquitto on windows 101/3/2023 I have removed the port assignment and listener assignment entirely (since that is its default anyway) and always I get the same result. Then I went to my Linux box and used ufw to enable port 1833 and enable the firewallįrom there I have tried everything I can think of - I've run Mosquitto with the port declared at the command line, I have changed the conf file to say: I set the port to forward to the local IP address of the Linux box. (The address there is what I got via "WhatsmyIP")įirst, I went to my router, which is a TP-LINK AC1200. "No connection could be made because the target machine actively I start up the Mosquitto server, connect via the C# application, subscribe to a topic, and then can send messages back and forth all day long.īut when I try to connect through the internet address, I consistently get a .MqttConnectionException: If I connect via the localhost, everything is fine. On my Windows 10 laptop, I am running a C# application written in Visual Studio 2013 that uses the M2Mqtt Libraries. I have Linux Ubuntu 18.04 laptop, and I installed the Mosquitto MQTT broker there.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |