"Error: listen EACCES 127.0.0.1:8080" when attempting to run from win7 command prompt

425 views
Skip to first unread message

Norman Bringsjord

unread,
Sep 1, 2016, 6:05:39 PM9/1/16
to weinre
>weinre --boundHost -all- seems to get so far as to make it possible to view the weinre server home page but shows targets as none even though script tag is in place.

The command prompt indicates that is starting server but shows no completion. Control C asks for "Terminate batch job yes or no".

Any ideas?

-N

Patrick Mueller

unread,
Sep 1, 2016, 9:39:25 PM9/1/16
to weinre
EACCES is typically returned when you don't have rights to bind a socket to a specific ip addr / port.  Perhaps you need to run as admin?

But it's not clear if that message (from the post title) relates to the body of your message.

The command prompt should likely "not complete", as it's a server and will run forever.  That seems like the expected message for hitting Ctrl-C (ie, "Terminate batch job ...")

Typically folks have problems connecting, somehow, from their device to the server.

You might try accessing the default web page from your device - http://my-weinre-server-address:port-number/ and try the demo, to see if that works.  If it doesn't, then it's not going to work for your app either, and there is some kind of issue with the networking.  Also try running weinre with --verbose and --debug, to see if anything interesting gets printed.

Norman Bringsjord

unread,
Sep 1, 2016, 11:09:49 PM9/1/16
to wei...@googlegroups.com
Thanks for your response Patrick, As you can see (attchment screen shot) weinre install proceeds to a point where I can run the server home page. I'm running as admin.The thing that puzzles me is that I can get to the weinre client page but it doesn't show my target even though the script has been placed in the index.html file. I CAN make changes to my indexl file and the changes show up on my phone right away.

-N



--
--
From the weinre Google Group -- http://groups.google.com/group/weinre

---
You received this message because you are subscribed to a topic in the Google Groups "weinre" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weinre/nbjx07BkTRQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weinre+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

screenShot1.jpg

Patrick Mueller

unread,
Sep 2, 2016, 1:41:55 AM9/2/16
to wei...@googlegroups.com
So what's the deal with EACCES from the title?  I don't see that mentioned in the problem description anywhere.

Did you try running the weinre demo from the weinre page on your device?  Theoretically, it should work, unless there is some kind of networking issue.  If it doesn't work, there's no way it will work with your app.  You'll need to resolve your networking issue first.  If it does work, typically this means there is something in your app preventing the weinre code from connecting to server.

I should have also mentioned, most people don't have a need for weinre anymore.  See the big yellow box on https://people.apache.org/~pmuellr/weinre/docs/latest/ , for pointers to better tools.

Can you post the line of html you are using to include weinre in your app?  Perhaps there's an error there.

You received this message because you are subscribed to the Google Groups "weinre" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weinre+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Patrick Mueller
http://muellerware.org

Norman Bringsjord

unread,
Sep 2, 2016, 11:02:12 AM9/2/16
to wei...@googlegroups.com
Patrick, I think you are correct about it being a network problem. After looking at the new options you suggested, I'm going to pursue them for a debug method that doesn't require networking.

Thanks very much for your help. I'm headed off in a better direction now.

-Norman


Reply all
Reply to author
Forward
0 new messages