[WS] WebSocket listening on 3001 [DB] Connecting to MySQL... Ignoring invalid configuration option passed to Connection: acquireTimeout. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection node:events:502 throw er; // Unhandled 'error' event ^ Error: listen EADDRINUSE: address already in use :::3001 at Server.setupListenHandle [as _listen2] (node:net:1908:16) at listenInCluster (node:net:1965:12) at Server.listen (node:net:2067:7) at new WebSocketServer (/home/ubuntu/hongbao-api/node_modules/ws/lib/websocket-server.js:106:20) at Object. (/home/ubuntu/hongbao-api/server.js:315:11) at Module._compile (node:internal/modules/cjs/loader:1521:14) at Module._extensions..js (node:internal/modules/cjs/loader:1623:10) at Module.load (node:internal/modules/cjs/loader:1266:32) at Module._load (node:internal/modules/cjs/loader:1091:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12) Emitted 'error' event on WebSocketServer instance at: at Server.emit (node:events:524:28) at emitErrorNT (node:net:1944:8) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '::', port: 3001 } Node.js v20.20.2