SocketException:连接失败(操作系统错误:机器不在网络上,errno = 64)

发布于 2025-01-15 08:22:49 字数 145 浏览 2 评论 0原文

我正在尝试连接到没有连接的 IoT 设备,然后执行一些 http 请求。但设备无法识别 get 方法,我在标题上收到错误,您知道这里发生了什么吗? 我知道错误是正确的,因为我的物联网设备没有连接,但是如何在没有连接的情况下在本地设备网络上发出请求?如果您有任何解决方案,请..

I am trying to connect to an IoT device that has no connection and then doing some http requests. but the device doesn't recognise the method get, and I got the error on the title, any ideas what is happening here ?
I know that the error is correct, since my iot device has no connection, but how to do a request on local device network without connection ? if you have any solution for that please ..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文