Wolandello Wolandello - 1 year ago 86
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


Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download