[英]SOLVED - Raspberry Pi unable to connect to Windows Websocket
I am attempting to send data from a Python script running on a Raspberry Pi to a Java Micronaut ServerWebSocket running on a Windows machine, but I am getting asyncio.exceptions.TimeoutError
errors during the process.我试图将数据从在 Raspberry Pi 上运行的 Python 脚本发送到在 Windows 机器上运行的 Java Micronaut ServerWebSocket,但在此过程中出现asyncio.exceptions.TimeoutError
错误。
I attempted to use the websockets
library in Python on the Raspberry Pi to establish a websocket connection, but encountered a ConnectionRefusedError
.我尝试在树莓派上使用 Python 中的websockets
库建立 websocket 连接,但是遇到了ConnectionRefusedError
。 Is this issue related to a.network problem as mentioned here , and should I ask somewhere else like Superuser or Serverfault?这个问题是否与这里提到的 a.network 问题有关,我应该问其他地方,比如 Superuser 或 Serverfault 吗? Or is there another solution to this problem?或者这个问题有另一种解决方案吗?
As @life888888 suggested, it had something to do with Windows firewall.正如@life888888 所建议的那样,它与 Windows 防火墙有关。 But instead of the public firewall being the problem, it was the one for the domain.network instead但是问题不是公共防火墙,而是域的问题。网络
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.