• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps adb forward error

Hi everybody,

I'm writing an android app that communicates with the pc via socket connection. I have a HTC magic and am connected to a PC running XP SP3. The mobile phone is connected to the PC by a USB cable. "adb device" shows my mobile. So far so good. Today the mobile asked me if I want to update the system and since I did so "adb forward tcp:5555 tcp:44000" replies with "error: cannot bind socket".

Any suggestions what might go wrong here? Or what else zu check? :confused:
 
The problem doesn't seem to be the mobile phone but the adb server. After killing it and starting it again, the port forwarding works. (For all those who know "The IT Crowd": "Did you try to turn it off and on again?" :D)
 
Back
Top Bottom