---
title: "Eclipse Mosquitto hosting: MQTT broker · CloudSat"
description: "Deploy Eclipse Mosquitto on a CloudSat VPS: a lightweight MQTT 5 broker for IoT devices and apps, with TLS, WebSockets and password-based access control."
url: https://cloudsat.io/apps/deploy-eclipse-mosquitto
updated: 2026-11-18T15:52:35Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Networking](https://cloudsat.io/apps/category/vpn-and-networking)

# Eclipse Mosquitto on a VPS

Eclipse Mosquitto is a small, fast MQTT broker for IoT devices, home automation and services, with TLS, WebSockets and per-user access control.

[Deploy Eclipse Mosquitto](https://dash.cloudsat.io/console/deploy?image=app%3Aeclipse-mosquitto&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## About Eclipse Mosquitto

Eclipse Mosquitto is a lightweight open-source MQTT broker from the Eclipse Foundation. It speaks MQTT 3.1, 3.1.1 and 5.0, which lets phones, sensors and back-end services publish to topics and subscribe to them with almost no overhead. It is dual-licensed under the EPL 2.0 and EDL 1.0.

Devices need a broker with a stable address that never sleeps. A CloudSat server gives Mosquitto fixed IPv4 and IPv6 addresses, DDoS filtering in front and a region near your devices, and the smallest plan is enough to start.

After deploy the broker runs on Ubuntu 24.04 LTS. Since version 2.0 it accepts only local connections until you define listeners and authentication.

## What you get with Eclipse Mosquitto

- Accepts MQTT 3.1, 3.1.1 and 5.0 clients
- TLS listeners and MQTT over WebSockets
- Password files and access control lists
- Retained messages, last will and QoS 0 to 2
- Bridges to other brokers
- `mosquitto_pub` and `mosquitto_sub` clients

## Eclipse Mosquitto use cases

- A message hub for home automation and sensors
- Telemetry from field devices to a central server
- Lightweight pub/sub between microservices

## After you deploy Eclipse Mosquitto

1. SSH in when the server is **Running** and check the broker with `systemctl status mosquitto`.
2. Add a `listener 1883` line, or 8883 with TLS certificates, to the configuration; Mosquitto 2.x stays on localhost until you do.
3. Create users with `mosquitto_passwd -c <password-file> <user>`, reference the file with `password_file` and keep `allow_anonymous false`.
4. Test with `mosquitto_sub` and `mosquitto_pub` in two shells, then open only the ports you use in the CloudSat firewall.

## Eclipse Mosquitto ports

Open these in your firewall if you use one: `1883/tcp MQTT`, `8883/tcp MQTT over TLS`.

## Eclipse Mosquitto FAQ

### Should port 1883 face the internet?

Only with authentication, and preferably not at all, because plain MQTT sends passwords unencrypted. Use 8883 with TLS for devices that connect over the open internet.

### Can browsers connect?

Yes, through MQTT over WebSockets. Add a listener with `protocol websockets`, ideally behind TLS, and point your web client at it.

**Disclaimer.** The Eclipse Mosquitto project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

## Apps like Eclipse Mosquitto

[All apps in Networking](https://cloudsat.io/apps/category/vpn-and-networking)

- [Home Assistant](https://cloudsat.io/apps/deploy-home-assistant): Self-hosted Home Assistant connects smart home devices and cloud services, runs automations and dashboards, and keeps you in control. Run the container edition on a cloud server.
- [Node-RED](https://cloudsat.io/apps/deploy-node-red): Development Node-RED is a browser-based flow editor for wiring devices, APIs and online services together, with thousands of community nodes and JavaScript functions.
- [RabbitMQ](https://cloudsat.io/apps/deploy-rabbitmq): Development RabbitMQ is an open-source message broker that moves work between services over AMQP 0-9-1 and 1.0, MQTT and STOMP, with quorum queues and streams.
- [NATS Server](https://cloudsat.io/apps/deploy-nats-server): Development NATS Server is a fast, single-binary message broker for pub/sub, request-reply and queue groups, with JetStream adding persistence, streams and key-value storage.
- [AdGuard Home](https://cloudsat.io/apps/deploy-adguard-home): Networking AdGuard Home is a DNS server that blocks ads, trackers and malicious domains for every device pointed at it, with encrypted DNS and per-client rules.
- [BIND9](https://cloudsat.io/apps/deploy-bind9): Networking BIND 9 is ISC's open-source DNS server: host authoritative zones, run a caching resolver or both, with DNSSEC signing and validation built in.
