hubotio / hubot

A customizable life embetterment robot.

Home Page:https://hubotio.github.io/hubot/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web service test fails in Node.js 21

joeyguerra opened this issue · comments

should start a web service fails when run with Node 21.

Error: listen EADDRINUSE: address already in use 0.0.0.0:3000
    at Server.setupListenHandle [as _listen2] (node:net:1872:16)
    at listenInCluster (node:net:1920:12)
    at doListen (node:net:2069:7)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1899:8)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)
 {
  code: 'EADDRINUSE',
  errno: -48,
  syscall: 'listen',
  address: '0.0.0.0',
  port: 3000
}

Node.js v21.0.0

Isn't that saying there's already a process listening on port 3000?

Yes. And I didn't find another process binding to that port. It's very suspicious.