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.0k52736) | asked Sep 19 '12, 8:23 a.m.
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

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??


Accepted answer

permanent link
Karl Weinert (2.0k52736) | answered Sep 19 '12, 8:27 a.m.
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

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

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

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

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

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

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.