摘要:
异常: 虚拟机中重新配置好了网卡信息,但是访问不到局域网中的另外一个网段。原因: 虽然在网卡信息中添加了新的网关信息,但是在静态路由列表(route -n)中没有设置其为默认。解决: 添加路由(临时,永久)linux下静态路由修改命令方法一:添加路由route add -net 192.168.0.0/24 gw 192.168.0.1route add -host 192.168.1.1 dev 192.168.0.1删除路由route del -net 192.168.0.0/24 gw 192.168.0.1add 增加路由del 删除路由-net 设置到某个网段的路由-host... 阅读全文
posted @ 2012-09-10 17:35
Atlas's blog
阅读(6557)
评论(0)
推荐(0)
摘要:
背景: android emluator使用ksoap调用天气服务异常: java.net.SocketTimeoutException: Transport endpoint is not connected相关代码:View Code private static final String SOAP_ACTION = "http://WebXml.com.cn/getWeatherbyCityName";HttpTransportSE ht = new HttpTransportSE(WS_URL);// AndroidHttpTransport ht = new An 阅读全文
posted @ 2012-09-10 17:01
Atlas's blog
阅读(353)
评论(0)
推荐(0)

浙公网安备 33010602011771号