"Could not open Selected VM debug port (8700) Make sure you do not have another instance of DDMS or of the eclipse plugin running"

Eclipse + Android SDKでAndroidプロジェクトを実行しようとしたらこんなエラーが出ました。
Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.

原因と対処法

自分の場合は、hostsファイルが原因でした。

C:\Windows\System32\drivers\etc\hosts ファイルの中で、
127.0.0.1       localhost
という記述を消してしまっていたのが原因でした。
上記1行を書いたらいけました。
参考
La Thinking Motion. - [ddms] Could not open Selected VM debug port (8700). error対処法 [@win]
カテゴリ: