title: phonegap weinre finds no targets
body: <p>I try to enable weinre for debugging however the problem is that weinre finds no target.</p>
  
  <p>Here is what I do:</p>
  
  <ol>
  <li><p>installed weinre via nodejs command: npm  install weinre -g</p></li>
  <li><p>connect my android device( Huawaei smartphone ) via USB cable and enable debugging mode on the android phone.</p></li>
  <li><p>start weinre, command: weinre --boundHost 192.168.2.1</p></li>
  </ol>
  
  <p>The index.html looks like this: </p>
  
  <pre><code>&lt;!doctype html&gt;
   &lt;html&gt;
    &lt;head&gt;
     &lt;title&gt;tittle&lt;/title&gt;
  
      &lt;!-- Weinre testing for remote debug with physical device --&gt;
       &lt;script src="http://192.168.2.1:8080/target/target-script-min.js#anonymous"&gt;&lt;/script&gt;  
  
      &lt;script&gt;window.location='./main.html';&lt;/script&gt;
     &lt;body&gt;
     &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>on the config.xml i add </p>
  
  <pre><code> &lt;access origin="http://192.168.2.1:8080/*" /&gt;
  </code></pre>
  
  <p>finally on the main.html ( which is the real starting page ) i add:</p>
  
  <pre><code>&lt;script type="text/javascript" charset="utf-8" src="cordova.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <ul>
  <li>Then i zip all the files the App needs and upload it to phonegap build. after phonegap build all aplications i scan the bardcode with the mobile devices. Now the device starts to download the app. </li>
  </ul>
  
  <p>I start the app on the device. And visit the site </p>
  
  <pre><code>http://192.168.2.1:8080/client/#anonymous
  </code></pre>
  
  <p>=> The applications start as it ment to be but the site weinre-server shows "Target: NONE"</p>
  
  <p>Am i missing something? 
  I tried this process on firefox and chrome. I am pretty sure the mobile device does not use the 'same localhost' as my desktop pc. </p>
  
  <p>the weinre server properties are: </p>
  
  <p><img src="https://i.stack.imgur.com/SsiSf.jpg" alt="enter image description here"></p>