Connect with MQTT.fx
MQTT.fx is the most popular MQTT desktop client tool currently. The major version of MQTT.fx 1.0 is developed by Jens Deters using JavaFX technology, which is a Java virtual machine application. Unfortunately, the maintenance of MQTT.fx has now stopped maintenance and Softblade company has sponsored the development and released its commercial version MQTT.fx® 5.0, which is operated with a fee-based license. MQTT.fx in this article refers to version 1.0 without special instructions.
TCP and TLS protocols are supported but WebSocket.
- Install MQTT.fx client
- Already Create Deployment in EMQX Cloud, and the deployment status is running
Get the connection address and port in the Deployment Overview (the following xxxxx represents a random port, the specific port information please refer to the information on the deployment overview page).
- Professional plan address: IP; port: 1883(mqtt), 8083(ws) is enabled by default, you can enable port 8883(mqtts) and 8084(wss) by configuring TLS/SSL
- Standard plan address: domain ending with emqx.cloud suffix; port: xxxxx (mqtt), xxxxx (ws), xxxxx (mqtts), xxxxx (wss)
- BYOC plan address: the domain name specified at deployment time; port: 1883 (mqtt), 8083 (ws), 8883 (mqtts), 8884 (wss)
All deployments of EMQX Cloud have user authentication enabled, so when using MQTT.fx to test the connection, you need to fill in the Username and Password fields.
Set the Username and Password in
Authentication & ACL>
Authentication, which can be added one by one, or can be imported at once
Open connection profile
Create a new connection configuration and fill in the relevant configuration
Connect to MQTT broker
For more subscription, publishing and other functions, please refer to: Using MQTT.fx to connect to EMQX Cloud.