weinre on windows 7 not connecting to device

Thread is closed for posting
2 posts, 0 answers
  1. Roger
    Roger avatar
    183 posts
    Member since:
    Sep 2007

    Posted 12 Jan 2014 Link to this post

    have been following  the weinre and Icenium blog here ( http://www.icenium.com/blog/icenium-team-blog/2013/09/24/remote-debugging-icenium-apps-with-weinre)
    everything goes fin but when I put in my machine IP address of the machine ( & port of 202  I get a response of "starting server at http://localhost:202"
    I add this link to the Icenium Graphite app 

    <script src="http://localhost:202/target/target-script-min.js#anonymous"></script>
    and then go to the debug client user interface of http://localhost:202/client/#anonymous to find
    Targets:    None
    Clients: [channel: c-5 id:anonymous]             
       [channel: c-6 id:anonymous]
    boundHost: localhost httpPort: 202 I tried going to and chrome says it cannot find the site. I turned off IIS7 and nothing changed. Icenium tells me that I am connected to my Samsung S3 and Project LiveSync is on...what am I doing wrong. I am about to debug filetransfers to and from the mobile so need a debugging setup pretty desperately. Would be good if Icenium Graphite had this embedded as standard
  2. Kaloyan
    Kaloyan avatar
    878 posts

    Posted 15 Jan 2014 Link to this post

    Hi Roger,

    You can try to set:
    weinre --boundHost -all-
    "This will start a new weinre instance at http://localhost:8080, and it will listen on all your computers interfaces, which will allow remote clients (the mobile device) to connect to the server", as described here.

    Then, find what is your Wi-Fi IPv4 Address, by running the ipconfig command in cmd. And  add the following script to the app Index.html:
    <script src="http://<Yor IP here>:8080/target/target-script-min.js#anonymous"></script>

    For more details, you can also check this article on the same matter.

    In addition, I would say that Improved Android Debugging is already in our RoadMap for our release in March/April so, stay tuned.

    I hope this solves the issue.

    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top