Android on-device debugging launch fails: Can’t bind to local 8600 for debugger

You try to launch Android app on the device from Eclipse. The debugger fails to connect and times out. Instead, you see this in the Console log:

Can't bind to local 8600 for debugger

To fix this do the following steps exactly in this order

  • Close Eclipse
  • Disconnect USB cable
  • Kill all adb instances on the task manager of your computer
  • Start Eclipse
  • Connect USB cable
  • Launch the application

If this does not help then make sure that you are using IPv4 address for localhost DNS loopback name. Edit /etc/hosts and comment out all IPv6 entries.

\"\" Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+

5 thoughts on “Android on-device debugging launch fails: Can’t bind to local 8600 for debugger

  1. i m trying to run simple database program on ubuntu 11.04, Even i checked in DDMS, DB is created data/data//MyDB but while retrieving data from table it showing warning like ” Activity not started, its current task has been brought to the front”….
    ***mycode***
    public class FunnyNameDatabse extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    SQLiteDatabase db=openOrCreateDatabase(“MyData”,MODE_PRIVATE ,null);
    // db.execSQL(“create table if not exists Person (name varchar, age varchar);”);
    // db.execSQL(“insert into Person values(‘vishal’,’24’);”);
    Cursor c=db.rawQuery(“select * from Person”,null);
    c.moveToFirst();
    Log.d(“result: “,c.getString(0));
    db.close();
    }
    }
    *****************************************end*******************

    so please get me out of this problem

  2. Dear Sir. Vishal,

    I am not sure if I understand what’s your problem is and how or why I should get you out of it?

  3. Sir i use Android studio (1.0.1) and Window 8.1
    i received this error any solution plz???
    ddms: Can’t bind to local 8600 for debugger

  4. Hi,
    I had gone the above steps but still I am getting the same problem. Please tell me how to fix. below is the error I use to get

    [2015-09-24 16:51:45 – ddms] Can’t bind to local 8600 for debugger
    [2015-09-24 16:51:45 – ddmlib] An established connection was aborted by the software in your host machine
    java.io.IOException: An established connection was aborted by the software in your host machine
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(Unknown Source)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
    at sun.nio.ch.IOUtil.write(Unknown Source)
    at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
    at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
    at com.android.ddmlib.Client.sendAndConsume(Client.java:675)
    at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:342)
    at com.android.ddmlib.Client.requestAllocationStatus(Client.java:521)
    at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:831)
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:799)
    at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:759)
    at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:648)
    at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
    at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:576)

  5. can you helpe me i can’t satrt the caméra in android sdk eclipse

Leave a Reply

Your email address will not be published. Required fields are marked *