Skip to main content

Don’t want to read? Start here

If you already have Docker installed, this single command pulls and runs Coreflux locally—broker, LoT runtime, and Coreflux HUB included:
docker run --pull=always -d --name coreflux_broker -p 1883:1883 -p 5000:5000 -p 8080:8080 -p 8443:8443 -v project-volume:/etc/project coreflux/coreflux-mqtt-broker:latest
Every local install method (Docker, Windows, Linux, Raspberry Pi, DigitalOcean) uses the same defaults:
SettingValue
Usernameroot
Passwordcoreflux
For a Cloud Trial, use the credentials from your email instead.
That’s the whole install. Open the HUB at http://localhost:8080 and you’re running.
Coreflux runs as a single install. No separate installers, no databases, no message queues, no orchestration needed—just download and run.
Want the details, other platforms, or a no-install option? Keep reading.

Install Coreflux

Most people should use Docker (below). Just evaluating with nothing to install? Use the Cloud Trial tab. Specific hardware or production targets are in the remaining tabs.
~2 min if Docker is already installed — broker running locally.
Pull and run the broker (Docker fetches the latest image automatically):
docker run --pull=always -d --name coreflux_broker -p 1883:1883 -p 5000:5000 -p 8080:8080 -p 8443:8443 -v project-volume:/etc/project coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
1883TCPMQTT (unencrypted)
5000WebSocketWebSocket connections
8080HTTPCoreflux HUB (unencrypted)
8443HTTPSCoreflux HUB (TLS)
Open the HUB at http://localhost:8080 (or https://localhost:8443 with TLS) after the container starts.That’s it—Coreflux is now running locally and ready to use. Confirm it works under Verify Installation below.
Breaking the command down piece by piece:
  • --pull=always — always fetch the latest broker image before starting, so you never run a stale version.
  • -d — runs the container detached (in the background), so your terminal stays free.
  • --name coreflux_broker — names the container coreflux_broker so you can reference it later (for example docker logs coreflux_broker).
  • -p 1883:1883 -p 5000:5000 -p 8080:8080 -p 8443:8443 — each -p host:container maps a port on your machine to the same port inside the container. See the port table above for what each one is for.
  • -v project-volume:/etc/project — mounts a named volume so your project (LoT, routes, configuration) persists across restarts and image updates. The mount persists your broker project at /etc/project across container restarts, and Docker creates the named volume on first run.
  • coreflux/coreflux-mqtt-broker:latest — the image to run, pulled from Docker Hub.
If you configure TLS certificates, expose these additional ports:
docker run --pull=always -d --name coreflux_broker -p 1883:1883 -p 5000:5000 -p 8080:8080 -p 8443:8443 -p 8883:8883 -p 443:443 -v project-volume:/etc/project coreflux/coreflux-mqtt-broker:latest
PortProtocolDescription
8883TCP/TLSMQTT over TLS
443WSSWebSocket over TLS
See Broker Configuration for TLS setup.

Using the Coreflux HUB

The Coreflux HUB is available in two ways: via the Docker image (browser-based, no extra install) or as a standalone desktop application for Windows and Linux, available on Coreflux.org.
Nothing extra to do—the HUB is already included when you run the Docker install command above, because it maps ports 8080 (HTTP) and 8443 (HTTPS). Open it at http://localhost:8080 (or https://localhost:8443 with TLS). See the Coreflux HUB Overview for what you can do once it’s up.
If the HUB ports are not mapped on Docker, the broker still runs normally—you simply won’t be able to open the HUB in the browser. See Coreflux HUB Overview for what you can do once it’s up.

Verify Installation

The quickest visual check is the Coreflux HUB in your browser. You can also confirm directly by connecting an MQTT client and seeing Coreflux’s system topics—that’s how the broker is actually used. Use the default credentials from the top of the page (or your trial email).
1

Open the HUB

Open your environment URL in the browser—for a Cloud Trial, use the address from your email; for Docker, use http://localhost:8080 (or https://localhost:8443 with TLS).
2

Sign in

Enter your credentials (the defaults above) on the login page and click Connect to Coreflux.
Coreflux HUB login with username, password, and Connect to Coreflux
3

Confirm the dashboard loaded

After a successful login, you should see the HUB home screen with the bottom navigation bar.
Coreflux HUB dashboard with Start here pointing to the first navigation icon
The status bar shows route count and license info—the broker is reachable from the HUB.
4

Browse MQTT data

Select MQTTData Viewer. Expand $SYS/Coreflux in the Topic Tree—you should see broker topics such as Config, Version, and Resources updating live.
Coreflux HUB Data Viewer with Publish panel, Topic Tree, and tracked topic details

If verification fails

Pick the symptom that matches your setup:
If you can’t connect, confirm the broker is actually up using the tooling for your install method.For a Docker install, inspect the container:
# Is the container running?
docker ps

# View broker logs (live)
docker logs -f coreflux_broker

# Restart the container
docker restart coreflux_broker
For a service install, check the service status: sudo systemctl status coreflux (Linux, Raspberry Pi, DigitalOcean) or sc query CorefluxBroker (Windows).
Symptom: the HUB loads in some environments but not in a Docker-in-VM or remote setup.Fix: use the host’s actual address instead of localhost.
Symptom: the command errors with “cannot connect to the Docker daemon”.Fix: start Docker Desktop (or the Docker service) and run the command again.
Symptom: an error binding a port, e.g. 8080 or 1883 is already allocated.Fix: stop the process using that port, or remap the host side of the port (for example -p 8081:8080).
Symptom: docker ps shows nothing after you start the broker.Fix: run docker logs coreflux_broker to see why it exited.
Symptom: the HUB or an MQTT client fails to connect right after you receive your trial email.Fix: wait up to 60 seconds for the broker to become available, then retry. In the browser, allow unsecure access (or proceed past the certificate warning) for the trial URL. In MQTT Explorer, use MQTTS on port 8883, enable Encryption, and disable Validate certificate.

Next Steps

Getting Started

Create your first LoT Action in under 15 minutes.

VS Code Extension

Set up the LoT language extension for syntax highlighting.
Last modified on July 3, 2026