Wolandello Wolandello - 6 months ago 37
Java Question

Failed to connect to remote VM

I configure tomcat to debug remotely from Eclipse:

start "Configure Tomcat". Go to Java tab. add the following line:

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

Then start the server.

But I don't see no one log in catalina.out referring to JPDA!
Also I don't see that port 8000 is listening (using
netstat -a

I get the following error when I try to debug from eclipse (using remote debug settings):

Failed to connect to remote VM. Connection refused



Port 8000 is free? or is it being used by some one else?