cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debug error "Failed to connect to remote VM"

Former Member
0 Kudos
7,487

Hi experts

i've the following message when i try to run debug in sts:

"Failed to connect to remote VM. Connection refused. Connection refused: connect"

i saw that port 8000 is not open, even if in project.properties there's the correct property: tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8000,suspend=n

does anyone has some idea?this's very urgent because now i'm not able to debug.

Thanks for your precious help Marco

View Entire Topic
Former Member
0 Kudos

i've no process running in this machine, port 8001 are closed.. i can't really understand what is going on

manjeesh86
Discoverer
0 Kudos

Try with 8005 port tomcat.debugjavaoptions=-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,address=8005,suspend=n -Xverify:none -DforceANSI=true