且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

由于没有收到服务器的响应:java.net.SocketException异常:recvfrom的失败:ECONNRESET

更新时间:2022-05-04 05:18:32

错误解决。我说我想从我的移动设备进行测试,所以我需要给我的电脑的网址,因为它不是一个模拟器我不应该给10.0.2.2。更改URL,并给予我的系统网址的伎俩。希望它可以帮助其他人。

Error solved. I had said I am trying to test it from my mobile device, so I need to give the url of my computer since its not an emulator I am not supposed to give 10.0.2.2. Changing the URL and giving my system URL did the trick. Hope it helps some one.