devnull devnull - 1 month ago 6x
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?