Sunday, 12 March 2017

nodejs error EADDRINUSE

I get this when i type "node site.js" im 100% sure im not running this node twice.

    Error: listen EADDRINUSE :::3000
    at Object.exports._errnoException (util.js:1022:11)
    at exports._exceptionWithHostPort (util.js:1045:20)
    at Server._listen2 (net.js:1262:14)
    at listen (net.js:1298:10)
    at Server.listen (net.js:1376:9)
    at Server.listen.Server.attach (/root/node_modules/socket.io/lib/index.js:228:9)
    at Timeout._onTimeout (/root/nodejs/site.js:1005:29)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)
  code: 'EADDRINUSE',
  errno: 'EADDRINUSE',
  syscall: 'listen',
  address: '::',
  port: 3000 }

Im using FEDORA 23



via Patryk Krawczyk

No comments:

Post a Comment