Username: Password:

Author Topic: Help with "Unhandled 'error' event-on linux terminal  (Read 10997 times)

Offline jitario

  • Rookie
  • *
  • Posts: 1
    • View Profile
Help with "Unhandled 'error' event-on linux terminal
« on: March 11, 2018, 09:41:20 PM »
HI to any one with Linux terminal skills-Have run bot fine then had a power cut and went to restart through terminal and got this:

events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::5000
    at Object.exports._errnoException (util.js:1026:11)
    at exports._exceptionWithHostPort (util.js:1049:20)
    at Server.setupListenHandle [as _listen2] (net.js:1305:14)
    at listenInCluster (net.js:1353:12)
    at Server.listen (net.js:1453:7)
    at Application.listen (/snapshot/gunbot-autoconfig/node_modules/koa/lib/application.js:64:19)
    at Object.<anonymous> (/snapshot/gunbot-autoconfig/index.js:21:5)
    at Module._compile (pkg/prelude/bootstrap.js:1226:22)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Function.Module.runMain (pkg/prelude/bootstrap.js:1281:12)
    at startup (bootstrap_node.js:200:16)
    at bootstrap_node.js:617:3


Not sure what to do???