Discussion:
Could not open Selected VM debug port (8700).
Amal
2009-04-15 05:21:50 UTC
Permalink
I have installed Eclipse 3.4 on my Ubuntu Linux 8.04 system. I create
a simple hello android project, but this is what I see when I open
eclipse-

"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."

I did telnet localhost 8700 and since it connected I figured out
something is using port 8700.

I went to Windows>Preferences>Android>DDMS and changed the ADB
Debugger base port to 8600. But even then its not working.

I am a beginner and don't know how to resolve this port issue. Does
anybody have any suggestions/pointers? Am I missing something?
Raphael
2009-04-16 23:46:15 UTC
Permalink
Are you running two instances of Eclipse or did you launch the
standalone version of DDMS?

When you have that error, can you open a terminal and run "netstat"?
It will list the ports currently in use.

R/
Post by Amal
I have installed Eclipse 3.4 on my Ubuntu Linux 8.04 system. I create
a simple hello android project, but this is what I see when I open
eclipse-
"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."
I did telnet localhost 8700 and since it connected I figured out
something is using port 8700.
I went to Windows>Preferences>Android>DDMS and changed the ADB
Debugger base port to 8600. But even then its not working.
I am a beginner and don't know how to resolve this port issue. Does
anybody have any suggestions/pointers? Am I missing something?
Amal
2009-04-18 08:02:30 UTC
Permalink
Thanks Raphael. I was able to figure out that something was affecting
the port settings. I removed the application, ran eclipse again,
tweaked a few things in Eclipse and as of now everything is working
fine.
Post by Raphael
Are you running two instances of Eclipse or did you launch the
standalone version of DDMS?
When you have that error, can you open a terminal and run "netstat"?
It will list the ports currently in use.
R/
Post by Amal
I have installed Eclipse 3.4 on my Ubuntu Linux 8.04 system. I create
a simple hello android project, but this is what I see when I open
eclipse-
"Could not open Selected VMdebugport (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."
I did telnet localhost8700and since it connected I figured out
something is using port8700.
I went to Windows>Preferences>Android>DDMS and changed the ADB
Debugger base port to 8600. But even then its not working.
I am a beginner and don't know how to resolve this port issue. Does
anybody have any suggestions/pointers? Am I missing something?
Loading...