MattyIce / postpromoter

Steem bid-based voting bot written in JavaScript
MIT License
45 stars 89 forks source link

its shows error while starting postpromoter #93

Closed sadiakant closed 6 years ago

sadiakant commented 6 years ago
  throw er; // Unhandled 'error' event
  ^

Error: listen EADDRINUSE :::3000 at Server.setupListenHandle [as _listen2] (net.js:1334:14) at listenInCluster (net.js:1382:12) at Server.listen (net.js:1469:7) at Function.listen (/home/ubuntu/postpromoter/node_modules/express/lib/application.js:618:24) at startup (/home/ubuntu/postpromoter/postpromoter.js:59:9) at Object. (/home/ubuntu/postpromoter/postpromoter.js:27:1) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Function.Module.runMain (internal/modules/cjs/loader.js:742:12) at startup (internal/bootstrap/node.js:266:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3) Emitted 'error' event at: at emitErrorNT (net.js:1361:8) at process._tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:745:11) at startup (internal/bootstrap/node.js:266:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3)

officiallymarky commented 6 years ago

Likely a config issue, check your config.json for errors.

MattyIce commented 6 years ago

@sadiakant This means that you have another process using port 3000. You can either disable the API for the postpromoter service or change the port it uses in the config settings.