Search code examples
javaeclipseremote-debugging

Remote debugging from eclipse


I am trying to remote a debug an application which is deployed through Websphere. I have all the port configured correctly on server side and on eclipse side. I can use

telnet host port

to connect to remote host and port correctly. But When I try to connect through remote debug through eclipse, I run into the error

Failed to connect to remote VM
  com.sun.jdi.connect.spi.ClosedConnectionException 

What can be the possible causes for this? I have checked and searched Stackoverflow for this error already. I have tried the most things from answer on this question Eclipse Error: "Failed to connect to remote VM"

enter image description here enter image description here


Solution

  • I changed the port and it worked. It was a networking issue with that port of 7777.