Skip to content

RobustMQ Public MQTT Server

This guide introduces how to use the public MQTT server provided by RobustMQ for testing and development.

Server Information

Endpoints

ProtocolAddressPortDescription
MQTT TCP117.72.92.1171883Standard MQTT connection
MQTT SSL/TLS117.72.92.1171884Encrypted MQTT connection
MQTT WebSocket117.72.92.1171093WebSocket connection
MQTT WebSocket SSL117.72.92.1171094Encrypted WebSocket connection
MQTT QUIC117.72.92.1171083QUIC protocol connection

Authentication

  • Username: robustmq
  • Password: robustmq

Management Interface

Dashboard

Quick Experience

Using MQTTX Command Line Tool

1. Send Messages

bash
# Send simple message
mqttx pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/topic" -m "Hello RobustMQ!"

# Send QoS 1 message
mqttx pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/qos1" -m "QoS 1 message" -q 1

# Send retained message
mqttx pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/retained" -m "Retained message" -r

# Send JSON format message
mqttx pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "sensors/temperature" -m '{"value": 25.5, "unit": "celsius"}'

2. Subscribe to Messages

bash
# Subscribe to single topic
mqttx sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/topic"

# Subscribe to wildcard topics
mqttx sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/+"  # Single-level wildcard
mqttx sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/#"  # Multi-level wildcard

# Subscribe and display detailed information
mqttx sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/topic" --verbose

3. Performance Testing

bash
# Publish performance test
mqttx bench pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/bench" -c 10 -C 100

# Subscribe performance test
mqttx bench sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "test/bench" -c 50

Using MQTTX GUI Client

1. Connection Configuration

  • Host: 117.72.92.117
  • Port: 1883
  • Username: robustmq
  • Password: robustmq
  • Client ID: Custom

MQTTX Connection Configuration

2. Publish and Subscribe

After connecting successfully, you can:

  • Create subscriptions to receive messages
  • Publish messages to specified topics
  • View real-time message flow

MQTTX Publish Subscribe

Complete Example

Step 1: Subscribe to Messages

bash
# Terminal 1: Subscribe to temperature sensor data
mqttx sub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "sensors/temperature" --verbose

Step 2: Send Messages

bash
# Terminal 2: Send temperature data
mqttx pub -h 117.72.92.117 -p 1883 -u robustmq -P robustmq -t "sensors/temperature" -m '{"sensor": "temp-001", "value": 23.5, "unit": "celsius", "timestamp": "2024-01-01T12:00:00Z"}'

Step 3: View Dashboard

Visit http://117.72.92.117:3000/ to view real-time connections and message statistics.

Important Notes

  1. Public Server Limitations: This is a public server for testing purposes, do not use in production environments
  2. Message Retention: Messages are not permanently retained, please process them promptly
  3. Connection Limits: Please use reasonably to avoid excessive resource consumption
  4. Security Reminder: Do not transmit sensitive information in messages

Supported Protocol Features

  • ✅ MQTT 3.1.1
  • ✅ MQTT 5.0
  • ✅ QoS 0, 1, 2
  • ✅ Retained Messages
  • ✅ Will Messages
  • ✅ Topic Wildcards
  • ✅ SSL/TLS Encryption
  • ✅ WebSocket Support
  • ✅ QUIC Protocol Support