Skip to content
This error keeps happening, ive tried tons of ports that should work, anybody that can help me?
Profile icon

throw er; // Unhandled 'error' event

Error: listen EADDRINUSE: address already in use :::3000
at Server.setupListenHandle [as _listen2] (net.js:1316:16)
at listenInCluster (net.js:1364:12)
at Server.listen (net.js:1450:7)
at /home/runner/Node-stuff-test/index.js:18:8
at Script.runInContext (vm.js:130:18)
at Object. (/run_dir/interp.js:209:20)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1343:8)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 3000

You are viewing a single comment. View All
Answered by RowanFromBJC [earned 5 cycles]
View Answer
Profile icon

ima just make a new server and use whole new tutorial