[Resolved] I try to run my discord bot but i keep getting an error


#1

Whenever I use node server.js to run my discord bot I get.

Database “Dreams” ready to go!
events.js:183
throw er; // Unhandled ‘error’ event
^
Error: listen EADDRINUSE :::3000
at Object._errnoException (util.js:992:11)
at _exceptionWithHostPort (util.js:1014:20)
at Server.setupListenHandle [as _listen2] (net.js:1355:14)
at listenInCluster (net.js:1396:12)
at Server.listen (net.js:1480:7)
at Function.listen (/rbd/pnpm-volume/e30f3cac-be2b-463e-b581-4755337986bc/node_modules/.registry.npmjs.org/express/4.16.3/node_modules/express/lib/application.js:618:24)
at Object. (/app/server.js:59:20)
at Module._compile (module.js:652:30)
at Object.Module._extensions…js (module.js:663:10)
at Module.load (module.js:565:32)

I’m new to Glitch, so I don’t know how to fix this.


#2

I fixed it ignore this post.


#3

If you fixed it, you should delete this post.