reelyactive / barnowl-test

A simple way to evaluate barnowl regardless of whether or not you have access to reelyActive technology
MIT License
1 stars 1 forks source link

Error: listen EADDRINUSE #1

Open nolandubeau opened 10 years ago

nolandubeau commented 10 years ago

Hi Jeff,

I followed the instructions for the demo and when I try to start up the app I get the following error:

reelyActive BarnOwl instance is listening for an open IoT UDP Listening on 127.0.0.1:50000

events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:904:11) at Server._listen2 (net.js:1042:14) at listen (net.js:1064:10) at Server.listen (net.js:1138:5) at Object. (/Library/WebServer/Documents/test/barnowl-test/barnowl-test.js:89:8) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

I don't have anything else running on that port. Any ideas what the issue might be?

Thanks.

jeffyactive commented 10 years ago

Hi Nolan,

If you run as super-user (sudo) it should work. I had the same thing today actually, might be that port 80 requires special privileges.

Let me know if you still have problems, thanks!

Jeff

On Fri, Sep 26, 2014 at 2:24 PM, Nolan Dubeau notifications@github.com wrote:

Hi Jeff,

I followed the instructions for the demo and when I try to start up the app I get the following error:

reelyActive BarnOwl instance is listening for an open IoT UDP Listening on 127.0.0.1:50000

events.js:72 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE at errnoException (net.js:904:11) at Server._listen2 (net.js:1042:14) at listen (net.js:1064:10) at Server.listen (net.js:1138:5) at Object. (/Library/WebServer/Documents/test/barnowl-test/barnowl-test.js:89:8) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10)

I don't have anything else running on that port. Any ideas what the issue might be?

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/reelyactive/barnowl-test/issues/1.

reelyActive: Smart Spaces put Things in context http://context.reelyactive.com/ Jeffrey Dungen | Co-founder and CEO | jeff@reelyactive.com

nolandubeau commented 10 years ago

Hi Jeff,
I changed to a port other than 80 and was able to get it running. Thanks. Nolan