adb forward error


Last Updated:

  1. androidPete

    androidPete New Member This Topic's Starter

    Joined:
    Oct 21, 2009
    Messages:
    2
    Likes Received:
    0
    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:
     

    Advertisement
  2. androidPete

    androidPete New Member This Topic's Starter

    Joined:
    Oct 21, 2009
    Messages:
    2
    Likes Received:
    0
    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)
     

Share This Page

Loading...