로컬호스트 문제 발생 Error - Port 8080 was already in use

한동훈·2022년 7월 23일
0

항해99

목록 보기
2/29

문제 발생
Description:

Web server failed to start. Port 8080 was already in use.

Action:

Identify and stop the process that's listening on port 8080 or configure this application to listen on another port.


갑자기 위와 같은 에러 메시지가 나온다. 기존에 ARC로 API 연습을 하면 공부를 하고 있는데, 어제는 한글 폰트가 console에 제대로 나오지 않고, 오늘은 갑자기 포트에 문제가 생겼다.

해결 방법 :
// 현재 사용하고 있는 8080 포트를 사용하는 네트워크 통계 정보를 출력한다.
netstat -ano | findstr 8080

// 위 명령어를 통해 출력된 목록의 process_id를 입력하여 강제 종료시킨다.
taskkill /F /pid [process_id]

출처: https://7942yongdae.tistory.com/35 [프로그래머 YD:티스토리]

profile
돌덩이

0개의 댓글