android http连接无法连

[color=darkred][size=x-large]具体的例子可以看:http://www.iteye.com/problems/56768
具体的问题是:我需要访问本地的服务器,关键是获得不了服务器响应,但是我用IE测试的话就好的,但是用模拟器的话是报IOException异常。具体IO异常发生的代码HttpResponse response = HttpUtil.getHttpResponse(request);[/size][/color]

1、确认你的模拟器能够上网
2、url=http://localhost:8080/Test/c/user.do?method=login
&username=123&password=123
模拟器是识别不了localhost的,建议换成10.0.2.2