【微信小程序真机测试失败】:errno: 600001, errMsg: “request:fail -102:net::ERR_CONNECTION_REFUSED
·
微信小程序真机测试失败问题
小程序真机调试报错问题:VM1096: Unhandled promise rejection {errno: 600001, errMsg: "request:fail -102:net::ERR_CONNECTION_REFUSED}

一、修改localhost改为ipv4

在微信小程序requestUtil.js将接口地址中的localhost改为ipv4的地址

这里有== - Network: http://192.168.1.101:8081/可以不再改localhost

二、切换真机调试为1.0

成功了!!!
更多推荐
所有评论(0)