Public test broker
For quick experiments you do not need an account: connect any MQTT client to broker.connectmq.com without a username or password.
| Protocol | Address | Port |
|---|---|---|
| MQTT | mqtt://broker.connectmq.com | 1883 |
| MQTT over TLS | mqtts://broker.connectmq.com | 8883 |
| WebSocket | ws://broker.connectmq.com:8083/mqtt | 8083 |
| Secure WebSocket | wss://broker.connectmq.com:8084/mqtt | 8084 |
bash
# terminal 1
mosquitto_sub -h broker.connectmq.com -p 1883 -t "your-project/#" -v
# terminal 2
mosquitto_pub -h broker.connectmq.com -p 1883 -t "your-project/hello" -m "Hello from ConnectMQ"Rules
- It is public and shared: anyone can subscribe to any topic, including yours.
- Never send passwords, personal data or anything confidential.
- Use a unique topic prefix (for example
your-project/…) so your messages do not mix with others. - Stricter per-client and per-IP limits apply than on private brokers, and abusive traffic is blocked automatically.
- There is no guarantee of availability or message retention.
Public vs private broker
| Public broker | Private ConnectMQ broker | |
|---|---|---|
| Account | None | Free sign-up |
| Who can read your topics | Everyone | Only your credentials |
| Authentication | None | Username / password, bound client IDs |
| Access control | None | Per-topic ACL (Basic & Scale) |
| Console (dashboard, alerts, twin) | No | Yes |
| Guarantees | None | Plan limits and support |
The host name is the same: when a client connects with your credentials it reaches your private broker; without credentials it reaches the public one.
Ready for real devices? Create a free account.