请求在volly类android中超时

时间:2018-06-04 04:13:49

标签: android http localhost android-volley

本地主机在浏览器中为我提供数据,如屏幕截图所示,但是Volly课程给了我 '请求超时。'

you can see my localhost giving me proper data but doing problem with real device and virtual muchine

*它在窗口8中运行良好,但最近我将窗口8改为10,所以现在我面临这个问题,但我认为这不是因为这个原因*

def activate(request, a_code): """ Activate User's Account by code from his email. """ try: user = User.objects.get(activatecode__code=a_code) user.is_active = True context = {} return render(request, "user/success.html", context)

这里是我在php中的服务 this is services which is write in php and it works

0 个答案:

没有答案