I am trying to connect (through TCP) to the server running on my machine from the Android device.
I have android.permission.INTERNET
in my manifest file:
I was having the same issue with my android app running IP address of the computer. The app was working good and then suddenly volley started throwing exceptions. I tried enabling and disabling my mobile wifi and it didn't work. Then I tried shutting down my main router and turning back on. And just like that volley was happy and the app started working again:)
Hope that helps.