Skip to main content

Why Install Locally?

Running Coreflux on your own machine gives you a complete IoT data pipeline—MQTT broker, LoT runtime, and data routing—without external dependencies or cloud subscriptions.
Coreflux runs as a single binary or container. No databases, no message queues, no orchestration needed—just download and run.

Install Coreflux

Docker is the fastest way to get Coreflux running. The official image works on Linux, macOS, and Windows.
docker run -d \
  --name coreflux_broker \
  -p 1883:1883 \
  -p 5000:5000 \
  coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
1883TCPMQTT (unencrypted)
5000WebSocketWebSocket connections
If you configure TLS certificates, expose these additional ports:
docker run -d \
  --name coreflux_broker \
  -p 1883:1883 \
  -p 5000:5000 \
  -p 8883:8883 \
  -p 443:443 \
  coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
8883TCP/TLSMQTT over TLS
443WSSWebSocket over TLS
See Broker Configuration for TLS setup.

Verify Installation

Confirm the broker is running by connecting with an MQTT client and subscribing to a system topic.
1

Open MQTT Explorer

Download MQTT Explorer or use any MQTT client of your choice.
2

Connect to the Broker

Create a new connection with these settings:
SettingValue
Hostlocalhost
Port1883
Usernameroot
Passwordcoreflux
3

Check System Topics

Subscribe to $SYS/# to see broker status messages. If you see topics like $SYS/broker/version, the broker is running correctly.
You should see the Coreflux version number published to $SYS/broker/version.

The broker ships with default credentials for initial setup:
SettingValue
Usernameroot
Passwordcoreflux
Change the default password before deploying to production. See Broker Configuration for security settings.

Next Steps