File size: 1,720 Bytes
f465388
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a6f672d
 
 
 
 
 
 
 
 
 
 
 
a830538
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
node:events:497
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE: address already in use :::7860
    at Server.setupListenHandle [as _listen2] (node:net:1904:16)
    at listenInCluster (node:net:1961:12)
    at Server.listen (node:net:2063:7)
    at Function.listen (/home/user/app/mmapi/node_modules/express/lib/application.js:635:24)
    at Object.<anonymous> (/home/user/app/mmapi/api.js:281:5)
    at Module._compile (node:internal/modules/cjs/loader:1469:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
    at Module.load (node:internal/modules/cjs/loader:1288:32)
    at Module._load (node:internal/modules/cjs/loader:1104:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1940:8)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'EADDRINUSE',
  errno: -98,
  syscall: 'listen',
  address: '::',
  port: 7860
}

Node.js v20.18.0

[2024-10-25 05:17:24.382930] Script started.
[2024-10-25 05:17:24.383335] API service already running on port 7860, exiting script.

[2024-10-25 05:18:50.285983] Script started.
[2024-10-25 05:18:50.286348] API service already running on port 7860, exiting script.

[2024-10-25 05:19:34.842210] Script started.
[2024-10-25 05:19:34.842602] API service already running on port 7860, exiting script.

[2024-10-25 05:24:34.969499] Script started.
[2024-10-25 05:24:34.969881] API service already running on port 7860, exiting script.

[2024-10-25 05:40:32.131066] Script started.
[2024-10-25 05:40:32.131521] API service already running on port 7860, exiting script.