devnull devnull - 7 months ago 31
Java Question

Eclipse Error: "Failed to connect to remote VM"

I’m getting the following error when I start Debug from the

Eclipse IDE

“Failed to connect to remote VM. Connection Refused”

What could be the reason?


Have you setup the remote VM to accept connections?

java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=10000,suspend=n yourServer

Is there a firewall in the way?

Are you specifying the correct host / port?