Trouble debugging android wear over bluetooth - Unable to connect to localhost Trouble debugging android wear over bluetooth - Unable to connect to localhost android android

Trouble debugging android wear over bluetooth - Unable to connect to localhost


I was getting the following error message:

unable to connect to localhost:4444: cannot connect to localhost:4444no connection could be made because the target machine actively refused it (10061).

I used adb connect 127.0.0.1:4444 instead and I was prompted with the message instantaneously.


I found the answer

first remove port forwarding;

adb forward --remove tcp:4444

then do port forwarding steps from the begining

adb forward tcp:4444 localabstract:/adb-hubadb connect localhost:4444

i fixed my problem with these steps