title: Java 1.7.0_u25 Applet Debugging with eclipse
body: <p>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.</p>
  
  <p>At my Java Runtime Environment Settings i set up all my JREs with the parameters:</p>
  
  <pre><code>-Djava.compiler=NONE -Xnoagent -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
  </code></pre>
  
  <p>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:</p>
  
  <ul>
  <li>Connection Type: Standard (Socket Attach)  </li>
  <li>Host: localhost  </li>
  <li>Port: 8000</li>
  </ul>
  
  <p>I get this error: </p>
  
  <blockquote>
    <p>'Launching Applet' has encountered a problem. Failed to connect to remote VM.</p>
  </blockquote>
  
  <p>In the Details Pane:</p>
  
  <blockquote>
    <p>Failed to connect to remote VM Network is unreachable: connect</p>
  </blockquote>
  
  <p>The output of an Ping to localhost is:</p>
  
  <pre><code>ping localhost
  
  Pinging myhostename.mydomain [::1] with 32 bytes of data:
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  </code></pre>
  
  <p>What is my awfully ridiculous mistake?</p>