It's all about the answers!

Ask a question

Failed to connect to remote VM when trying to connect the dubugger to tomact.


Karl Weinert (2.0k42536) | asked Sep 19 '12, 8:23 a.m.
JAZZ DEVELOPER
I'm following the Extensions Workshop and  I'm getting the following error when I try Attach the Eclipse debugger to the RTC server in step 25

"Launching [RTCExt] Debug Running Tomcat" launch configuration has encountered a problem.
Failed to connect to remote VM. Connection refused.
Connection refused: connect

Comments
Susan Hanson commented Jul 28 '13, 9:09 a.m.

Okay, so I hit this same problem and yet, I checked the port/host in the configurations and I believe they are correct (since I didn't change them).

I'm assuming this may be something odd with this laptop (new one just installed) with Windows 7, as I also get the same message when I try to do FTP from a command line (I ftp, login, i can change directory, but my first "ls" gives me an error as well).  I've attempted to even disable Windows firewall and that didnt' help, so I assume it is something else.  Anyone good with WIndows 7??

Susan

Accepted answer


permanent link
Karl Weinert (2.0k42536) | answered Sep 19 '12, 8:27 a.m.
JAZZ DEVELOPER
edited Sep 19 '12, 8:33 a.m.
Found it!
I had missed the step of updating the port value for the "[RTCExt] Debug Running Tomcat" debug configuration.

The steps are mentioned in the PDF file but here they are anyway.
1)In the eclipse window, click on the debug icon drop down, select "Debug Configurations" from the list
2) Under "Remote Java Application" in the left column select "[RTCExt] Debug Running Tomcat"
3) Select the Connect tab and verify the Host and Port properties are set correctly.
DJ Houghton selected this answer as the correct answer

Comments
Bo Chulindra commented Sep 25 '12, 7:06 p.m.
JAZZ DEVELOPER

perhaps you can mark your answer as the "accepted answer"?


Karl Weinert commented Sep 26 '12, 8:19 a.m.
JAZZ DEVELOPER

Hi Bo, I don't seem to have that option for self answered questions.


Bo Chulindra commented Sep 26 '12, 10:43 a.m.
JAZZ DEVELOPER

Your answer


Register or to post your answer.