Android 404错误-无法从emulator连接到服务器

Android 404错误-无法从emulator连接到服务器,android,angularjs,cordova,emulation,ionic,Android,Angularjs,Cordova,Emulation,Ionic,我试图从我的模拟器连接到我的服务器,它给出了404错误。我还尝试用10.0.2.2连接到我的本地主机,但它仍然给出相同的404错误。以下是我从chrome浏览器调试器网络选项卡收集的emulator发出的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

我试图从我的模拟器连接到我的服务器,它给出了404错误。我还尝试用10.0.2.2连接到我的本地主机,但它仍然给出相同的404错误。以下是我从chrome浏览器调试器网络选项卡收集的emulator发出的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的ionic框架中。

尝试使用您的系统ipI,不做任何更改尝试使用您的系统ipI,不做任何更改