android socket 本机调试 connection time out 解决办法
2012-03-31 19:55
811 查看
调试socket程序的时候,发现client端总是出现connection time out情况。
调试ip为10.0.2.2,本机ip为192.168.1.111。
后来想了下,将服务器ip和手机ip分开来,再进行连接。
于是将手机连上WIFI,获取ip为192.168.1.112。
再连接192.168.1.111地址,成功。
{http://blog.csdn.net/codestiny/article/details/6664697}
调试ip为10.0.2.2,本机ip为192.168.1.111。
后来想了下,将服务器ip和手机ip分开来,再进行连接。
于是将手机连上WIFI,获取ip为192.168.1.112。
再连接192.168.1.111地址,成功。
{http://blog.csdn.net/codestiny/article/details/6664697}
相关文章推荐
- android socket 本机调试 connection time out 解决办法
- android socket 本机调试 connection time out 解决办法
- Android SDK Manager检查更新时遇到Failed to fetch URL xxxxxxx reason: Connection to xxxxxx的错误的解决办法!
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- 手机在开发Android调试时logcat不显示输出信息的解决办法
- Android—Socket中关闭IO流后导致Socket关闭不能再收发数据的解决办法
- (重置adb.exe)android关于The connection to adb is down, and a severe error has occured.这个问题的解决办法
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- android 无法调试 waiting for debug 真正的解决办法 安卓 编程
- Android 调试 中 conversion to dalvik format failed with error 1的解决办法汇总
- Android Eclipse工程开发中的常见调试问题(二)android.os.NetworkOnMainThreadException 异常的解决办法
- Android真机调试的时候logcat中无法输出调试信息的解决办法
- Android手机在开发调试时logcat不显示输出信息的解决办法
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- 华为手机在开发Android调试时logcat不显示输出信息的解决办法
- Xamarin.Android 在VS下调试时提示 In mgmain JNI_OnLoad 程序“Mono”已退出 解决办法
- Android 报错解决办法:I/O error during system call, Connection reset by peer
- Android手机在开发调试时logcat不显示输出信息的解决办法
- android The connection to adb is down, and a severe error has occured.问题的解决办法
- Process terminated without establishing connection to debugger --Flex调试错误解决办法