devnull devnull - 11 months ago 40
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?

Answer Source

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?