< Error Message >
Several ports (8005, 80) required by Tomcat v9.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
ํฐ์บฃ์ด ์ฌ์ฉํ๋ ํฌํธ๊ฐ ์ฌ์ฉ์ค์ด์ด์ ๋ฐ์ํ ์ค๋ฅ์ด๋ค.
cmd ์ฐฝ์ ์ด์ด ์ฌ์ฉ์ค์ธ ํฌํธ์ pid๋ฅผ ํ์ธํ๋ค
netstat -p tcp -ano
8005 ํฌํธ๊ฐ ์๋ฌ๋ด์ผ๋ฏ๋ก 8005์ pid ๋ฒํธ๋ฅผ ์ฐพ์์
taskkill /f /pid ํด๋นpid๋ฒํธ
์ ์คํํ๋ค. ์คํํ๋ฉด ํ๋ก์ธ์ค๊ฐ ์ข ๋ฃ๋์๋ค๊ณ ๋ฌ๋ค.
๋ค์ ํฐ์บฃ์ ์คํํ๋ฉด ์ ์์ ์ผ๋ก ๊ฐ๋ํ๋ค.
728x90