[root@iZuf6fkemr5pl9rk752oqiZ ~]# mqttx conn -h ‘47.13.215.134’ -p 1883 -u ‘tests’ -P ‘tests’
[4/28/2024] [5:53:07 PM] › … Connecting…
[4/28/2024] [5:53:07 PM] › Connected
^C
[root@iZuf6fkemr5pl9rk752oqiZ ~]# mqttx sub -t ‘message’ -h ‘47.13.215.134’ -p 1883
[4/28/2024] [5:53:41 PM] › … Connecting…
[4/28/2024] [5:53:41 PM] › Error: Connection refused: Bad User Name or Password
at MqttClient._handleConnack (/snapshot/cli/node_modules/mqtt/lib/client.js:1388:17)
at MqttClient._handlePacket (/snapshot/cli/node_modules/mqtt/lib/client.js:549:12)
at work (/snapshot/cli/node_modules/mqtt/lib/client.js:438:12)
at Writable._write (/snapshot/cli/node_modules/mqtt/lib/client.js:452:5)
at doWrite (/snapshot/cli/node_modules/readable-stream/lib/_stream_writable.js:409:139)
at writeOrBuffer (/snapshot/cli/node_modules/readable-stream/lib/_stream_writable.js:398:5)
at Writable.write (/snapshot/cli/node_modules/readable-stream/lib/_stream_writable.js:307:11)
at Socket.ondata (node:internal/streams/readable:754:22)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:315:12)
[4/28/2024] [5:53:41 PM] › Connection closed
这个是什么问题呢?我根据命令行的教程来操作,连接的应该是官方的测试服务器,是没有问题的,为什么我自己的会有问题呢?是哪里没有设置正确呢?