mqtt 报错 ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
时间: 2023-11-16 13:16:49 浏览: 246
解决cannot connect to daemon at tcp:5037: cannot connect to 127.0.0.1:5037: 由于目标计算机积极拒绝,无法连接。 (10061).
出现mqtt报错ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接的原因是visdom服务器启动失败。解决方法是激活visdom服务器。首先,在当前python环境下输入以下命令:python -m visdom.server。然后等待一段时间,当出现"INFO:root:Application Started You can navigate to http://localhost:8097"的提示时,说明visdom服务器已成功启动。此时,您可以通过访问http://localhost:8097来访问visdom服务器。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [[Q&A]使用visdom时出现“ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接”...](https://blog.csdn.net/ARPOSPF/article/details/125443490)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [homebridge-mqtt-lock:使用MQTT的自动锁定homebridge锁](https://download.csdn.net/download/weixin_42101720/15044614)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文