Skip to content

Connection is rejected after unplugging the device from computer #842

Open
@rdlf4

Description

@rdlf4

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions