해결된 질문
작성
·
387
0
안녕하세요. 서버 켜려고 back 폴더에서 npm run dev 하면
[nodemon] app crashed - waiting for file changes before starting...
와 같은 에러가 나옵니다.
node.js 버전은 18.16.1 입니다.
결국 로컬호스트3095 들어가면
:3095/l:1 GET http://localhost:3095/l 500 (Internal Server Error)
이런 에러가 나오는데, 이건 서버 접속이 아예 안되었기 때문에 나오는 거겠죠..?
답변 3
0
0
Error: listen EADDRINUSE: address already in use :::3095
at Server.setupListenHandle [as _listen2] (node:net:1740:16)
at listenInCluster (node:net:1788:12)
at Server.listen (node:net:1876:7)
at Function.listen (C:\Users\heyou\OneDrive\Descktop\React\sleact-master\back\node_modules\express\lib\application.js:635:24)
at Object.<anonymous> (C:\Users\heyou\OneDrive\Descktop\React\sleact-master\back\app.js:70:20)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1767:8)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EADDRINUSE',
errno: -4091,
syscall: 'listen',
address: '::',
port: 3095
}
Node.js v18.16.1
[nodemon] app crashed - waiting for file changes before starting...
0
터미널을 백엔드용, 프론트용 두 개를 따로 띄우세요