我正在尝试从我的模拟器连接到我的服务器,它会出现404错误。我还尝试使用10.0.2.2连接到我的localhost,它仍然提供相同的404错误。以下是从Chrome浏览器调试器网络选项卡
收集的模拟器发出的http调用的详细信息Request URL:http://ec2-52-27-xxx-xx.us-west-2.compute.amazonaws.com:1337/auth/local
Request Method:POST
Status Code:404 Not Found (from cache)
Request Headers
Provisional headers are shown
Accept:application/json, text/plain, */*
Content-Type:application/json;charset=UTF-8
Origin:file://
User-Agent:Mozilla/5.0 (Linux; Android 5.1; Android SDK built for x86 Build/LKY45) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/39.0.0.0 Mobile Safari/537.36
Request Payloadview source
{email: "tt"}
email: "tt"
Response Headers
Client-Via:shouldInterceptRequest
我的android应用程序是基于phonegap和angularjs的离子框架。