when i try to remotely debug applet in browser this error occurs: Failed to connect to remote VM
. Connection refused. Why does it can take a place? Here are my actions:
1. javac -g TestApplet.java
2. create html file specifying TestApplet.class
3. in java control pannel: -Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
4. open in browser html file with applet
5. in the eclipse in applet's code set a breakpoint
6. debug configuration -> remote java configuration create new config with parameters: SocketAttach, localhost, 8000
7. debug
After: error message - Failed to connect to remote vm. connection refused.How to solve this Error?