我正在尝试连接可以通过我的android项目模拟器中的以下url访问的服务器。这是5.1 wvga的google 21 API
URL url = new URL("http://10.0.2.2:8080/jbpm-console/rest/runtime/org.jbpm:Evaluation:1.0/process/evaluation/start? map_employee=krisv&map_reason=Need%20a%20raise");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
但我收到了错误,
客户拒绝auDIO_OUTPUT_FLAG_FAST如果我更改了地址 10.0.2.2到localhost,得到错误
ECONNREFUSED (Connection refused)