When I am trying to run my android application in eclipse getting this exception:
当我试图在eclipse中运行我的Android应用程序时获取此异常:
IOException: failed to connect to /192.168.70.1 (port 9900): connect failed: ETIMEDOUT (Connection timed out)
What would be the problem?
会出现什么问题?
2 个解决方案
#1
Finally I found the solution here:
最后我在这里找到了解决方案:
Solution1: Make sure your windows firewall off.
解决方案1:确保关闭Windows防火墙。
Control Panel-->System and Security-->Windows Firewall-->Turn Windows Firewall on or off-->Turn Off Windows Firewall.
控制面板 - >系统和安全 - > Windows防火墙 - >打开或关闭Windows防火墙 - >关闭Windows防火墙。
Solution2:
Go to CMD-->Right Click-->Run as Administrator-->Yes-->ipconfig-->Enter
转到CMD - >右键单击 - >以管理员身份运行 - >是 - > ipconfig - > Enter
Replace IP with IPv4 address..
用IPv4地址替换IP ..
Here the culprit is system 'IP' is went wrong. Please check IP of your system as a admin..
罪魁祸首是系统'IP'出错了。请以管理员身份检查系统的IP。
Note: Once check it, Some times the IP address also changes randomly.
注意:检查后,有时IP地址也会随机更改。
May It helps to some one like me..
可能对像我这样的人有帮助..
Thanks..
#2
Control Panel\System and Security\Windows Defender Firewall\turn Windows Defender Firewall on or off\private network settings\Turn Off Windows Firewall.
控制面板\系统和安全\ Windows Defender防火墙\打开或关闭Windows Defender防火墙\专用网络设置\关闭Windows防火墙。
its worked for me.
它为我工作。
#1
Finally I found the solution here:
最后我在这里找到了解决方案:
Solution1: Make sure your windows firewall off.
解决方案1:确保关闭Windows防火墙。
Control Panel-->System and Security-->Windows Firewall-->Turn Windows Firewall on or off-->Turn Off Windows Firewall.
控制面板 - >系统和安全 - > Windows防火墙 - >打开或关闭Windows防火墙 - >关闭Windows防火墙。
Solution2:
Go to CMD-->Right Click-->Run as Administrator-->Yes-->ipconfig-->Enter
转到CMD - >右键单击 - >以管理员身份运行 - >是 - > ipconfig - > Enter
Replace IP with IPv4 address..
用IPv4地址替换IP ..
Here the culprit is system 'IP' is went wrong. Please check IP of your system as a admin..
罪魁祸首是系统'IP'出错了。请以管理员身份检查系统的IP。
Note: Once check it, Some times the IP address also changes randomly.
注意:检查后,有时IP地址也会随机更改。
May It helps to some one like me..
可能对像我这样的人有帮助..
Thanks..
#2
Control Panel\System and Security\Windows Defender Firewall\turn Windows Defender Firewall on or off\private network settings\Turn Off Windows Firewall.
控制面板\系统和安全\ Windows Defender防火墙\打开或关闭Windows Defender防火墙\专用网络设置\关闭Windows防火墙。
its worked for me.
它为我工作。