Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi Team,
I have installed mosquitto server in my windows system and my thingworx is installed on AWS instance.I have started mosquitto server from my windows and then configure the thingworx MQTT thing with my windows IP address as server name and port is 1883 but MQTT thing is not connected with mosquitto ..
How can I connect mosquitto server and thingworx MQTT Thing.
(I'm using Mosquitto version= 2.1.1 and Thingworx 8.5)
Appreciate any suggestion
Solved! Go to Solution.
Ensure that you are using latest MQTT extension(2.1.2). You will also have to change Windows Firewall rules to allow communication on port 1883.
Ensure that you are using latest MQTT extension(2.1.2). You will also have to change Windows Firewall rules to allow communication on port 1883.
I did not see any 2.1.2 extension on marketplace only available 2.1.1 version.
Yes I change Windows Firewall rules to allow communication on port 1883.
I am using 90 days trial version i don't have access to download this software..I have only 2.1.1 version which I have downloaded from marketplace...Please suggest me way how I can achieve this.
I see that you are using port 1883 but please note that v2.1.1 will not work with SSL enabled.
Also, what is the error in the Application logs when you save the MQTT thing?
Quick start guide - Uses Mosquitto broker
Enabling SSL ensures that the communication between ThingWorx and the broker is secure.
Refer this article(not from PTC) to generate a self-signed certificate & to configure SSL for Mosquitto. Once done, you will have to add the CA certificate or the generated self-signed certificate to your TWX Tomcat's Java Truststore.
Hi @Suraj2692.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Thank you for your participation in our community!
Regards.
--Sharon