I\'m trying to debug the helloword sample on real device. After lots of searching, I\'ve managed to do some settings.
What I did to debug on real device:
How can i access my localhost from my android device?
USB doesn't provide network to mobile device. If it's connected to your wifi, then hit your laptop address provided by the router. If it's connected to your mobile network, then first find out your router external IP address, then forward some port to that 10.0.2.2:portno and finally you'll be able to see that server from your device.
You used 192.168.1.107 as your IP, which looks like an internal IP address to me. Try if setting your external IP address fixes the problem.