I'm trying to debug an applet for 2 days now and I've gone over every solution posted on this site, but i can't find my mistake.
At my Java Runtime Environment Settings i set up all my JREs with the parameters:
-Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
When I run the Applet in any browser, and confirm the new security dialog from Java, the Applet starts - all fine. However, when I run my Debugger in Eclipse with the settings:
- Connection Type: Standard (Socket Attach)
- Host: localhost
- Port: 8000
I get this error:
'Launching Applet' has encountered a problem. Failed to connect to remote VM.
In the Details Pane:
Failed to connect to remote VM Network is unreachable: connect
The output of an Ping to localhost is:
ping localhost
Pinging myhostename.mydomain [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
What is my awfully ridiculous mistake?