How to Install EMQX on Windows 11

EMQX is a distributed, scalable, and highly available MQTT broker that supports plugins and extensions. EMQX is an open-source project that you can download for free. This tutorial will cover the steps you need to follow to install EMQX on Windows 11.

Prerequisites

To install EMQX on Windows 11, the following prerequisites are necessary:

Installation Steps

  1. Download the latest version of EMQX from the official website (https://www.emqx.io/).

  2. Extract the downloaded file to the directory where you want to install EMQX.

  3. Now, open the command prompt with administrator privileges.

  4. Navigate to the directory where you have extracted the downloaded EMQX file. Use the cd command to navigate to the required directory.

C:\> cd C:\EMQX
  1. Now run the below command to install EMQX as a Windows service.
C:\EMQX> emqx_win64.exe install

Note: In case of the 32-bit version of Windows, use the 32-bit version of EMQX and the corresponding command.

  1. After installation, start the EMQX service.
C:\EMQX> emqx_win64.exe start
  1. Verify that the EMQX broker is working by checking the logs.
C:\EMQX> emqx_ctl.bat log sub
  1. If you want to stop the EMQX broker, use the following command.
C:\EMQX> emqx_win64.exe stop

Congratulations! You have successfully installed EMQX on Windows 11. Now you can use it as an MQTT broker for your IoT projects.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!