简体   繁体   English

设备未连接到 API 服务

[英]Device not connecting to API Service

I'm publishing my WEB API to LocalISS, Accessing it in the built in Emulator works, but when Switching to actual Device it returns System.OperationCanceledException: System.Threading.CancellationToken.我正在将我的 WEB API 发布到 LocalISS,在内置的模拟器中访问它是有效的,但是当切换到实际设备时,它返回System.OperationCanceledException: System.Threading.CancellationToken.

I also tried Converyor by keyoti, And it's the same.我也试过keyoti的Converyor,也是一样的。 Works with emulator but not in actual device适用于模拟器但不适用于实际设备

I changed the IP Settings in the WiFi connection to static and set my IP to the same network segment.我将 WiFi 连接中的 IP 设置更改为静态并将我的 IP 设置为同一网段。 Turns out the IP Settings is default to dynamic DHCP.原来 IP 设置默认为动态 DHCP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM