开源版,在命令进行订阅,出现错误

[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] › :heavy_check_mark: 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] › :heavy_multiplication_x: 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] › :heavy_multiplication_x: Connection closed

这个是什么问题呢?我根据命令行的教程来操作,连接的应该是官方的测试服务器,是没有问题的,为什么我自己的会有问题呢?是哪里没有设置正确呢?

已经解决,文档对新手太不友好了,没有哪里说要把认证再加上。