Destination host unreachable: Android app
I'm working on an android application that creates a socket connection to a windows 7 machine, yesterday I was able to ping, and open the socket. Today with no code changes I cannot do anything, I cannot ping computer from phone nor ping phone from computer.
Although at work earlier today nothing was wrong. At home everything is wrong even though firewall in the router is disabled.
I also failed to connect if I disabled windows firewall.
Any suggestion would be great.
Edit: Tracerout resulted with the following:
C:\Users\Omar>tracert 192.168.1.65 Tracing route to android.lan [192.168.1.65] over a maximum of 30 hops: 1 Omar-PC.lan [192.168.1.73] reports: Destination host unreachable. Trace complete.
Edit 2: Trace route from phone:
root@android:/ # busybox traceroute -l -v 192.168.1.73 busybox traceroute -l -v 192.168.1.73 traceroute to 192.168.1.73 (192.168.1.73), 30 hops max, 38 byte packets 1 192.168.1.69 (192.168.1.69) 46 bytes to (null) 3002.689 ms (64) !H 3002.919 ms (64) !H >3004.9 49 ms (64) !H
When you have a Destination host unreachable error when doing ping or traceroute it usually means that you're not even able to communicate with your router. Either because your network interface is down, or because the router is not reachable.
In your case, I find it an amazingly smart move experimenting with the wifi channels. I've never come up with this problem before.
Anyway, the problem seems to be due to interference with neighbors' wifi hotspots.