How to fix Error: listen EADDRINUSE?

Hello friends, I decided to put bot for cs go.
When the node rz_bot bot login but if you enable the bot using pm2 start rz_bot.js and then enter the command node rz_bot it out
root@casedrope:/bot# node rz_bot.js
 throw er; // Unhandled 'error' event
Error: listen EADDRINUSE
 at exports._errnoException (util.js:746:11)
 at Server._listen2 (net.js:1158:14)
 at listen (net.js:1184:10)
 at Server.listen (net.js:1269:5)
 at Server.listen.Server.attach (/bot/node_modules/
 at new Server (/bot/node_modules/
 at Function.Server (/bot/node_modules/
 at Object.<anonymous> (/bot/rz_bot.js:45:31)
 at Module._compile (module.js:460:26)
 at Object.Module._extensions..js (module.js:478:10)
July 9th 19 at 10:05
1 answer
July 9th 19 at 10:07
if you include bot using pm2 start rz_bot.js and then

nothing more no need to run.
pm2 has launched your bot.

already decide who will run your script, pm2, or you hands "node lol4to.js".

Find more questions by tags Node.js