Windows brokers MQTT

I am trying to configure the MQTT broker on windows, but not with the results. I do not really understand this topic. I downloaded mosquitto files from http://mosquitto.org/download/ , but I did not get the server. I downloaded binaries for windows and followed the instructions, but I can only run the broker, but I can not subscribe. It says: "pthreadVC2.dll is missing" and I tried to install it, but I do not know how to do it. If you can offer me how to run a broker, I appreciate your help. Thanks you

+5
source share
4 answers

See http://git.eclipse.org/c/mosquitto/org.eclipse.mosquitto.git/tree/readme-windows.txt

Dependencies - win32

If this does not solve the problem, you may need to install the Visual Studio redistributable components. Packaged versions of Mosquitto are compiled using Visual Studio 2010, which can be found here: https://www.microsoft.com/en-gb/download/details.aspx?id=8328

+7
source

Check out this link: https://sivatechworld.wordpress.com/2015/06/11/step-by-step-installing-and-configuring-mosquitto-with-windows-7/

You must include these files (libeay32.dll, ssleay32.dll and pthreadVC2.dll) in the mosquitto folder (C: \ Program Files (x86) \ mosquitto) and reinstall the mosquitto server. After reinstalling, check the services to see if Mosquitto works as a service. Then use the netstat -an command on the command line. This will show the active connection and its status.

The above link gives a step-by-step installation procedure.

+3
source

There is an open source and scalable MQTT broker with whom I am personally associated: emitter.io . It is built using .NET Core and LibUV - github.com/emitter-io/emitter .

There is also a good list of MQTT brokers available here: https://github.com/mqtt/mqtt.imtqy.com/wiki/servers

0
source

this link will lead you to pThreads: ftp://sources.redhat.com/pub/pthreads-win32/dll-latest/dll/x86/

where you can directly download it:

and then copy the dll to your mosquito installation folder enter image description here

0
source

Source: https://habr.com/ru/post/1216574/


All Articles