Just in case, someone will find that he is looking for an answer.
If you use Linux (I am running Debian, but it will also work on Ubuntu), you may find that ipv6 is connected and prevents eclipse and ddms from connecting to adb. To check if ipv6 is running, enter it in the terminal / shell:
sudo sysctl -a|grep net.ipv6.bindv6only
if you are given a line with the inscription "net.ipv6.bindv6only = 1", then only ipv6 binding is enabled. To disable it, enter this in the terminal:
sudo sysctl -w net.ipv6.binv6only=0
This will disable it. Now restart eclipse and try again. If this worked, then it really was connected with ipv6 bindings. To permanently disable it, edit the file /etc/sysctl.d/bindv6only and change the value from 1 to 0.
source share