Description
So, this has happened to me all the time I need to recharge my phone, and I do so by plugging it to my computer. But normally, after it's been charged and unplugged, trying to connect to my phone again via wireless by issuing the command
adb connect 192.168.0.101
returns me with an error:
unable to connect to 192.168.0.101:5555: Connection refused
Then, I have to plug it to my computer again, do the same as I did before:
adb forward tcp:5555 tcp:7612
And then, do:
adb tcpip 7612
So that, my phone returns:
restarting in TCP mode port: 7612
And then, it finally connects.
My question is, why is it that every time I unplug it from my computer, it no longer works in TCP mode? Can't I leave it like that, in order to not have to re-do those steps after unplugging my device?