반응형

XAMPP 설치하고 아파치를 시작시켰는데 에러가 딱!

 

Error: Tomcat shutdown unexpectedly.

This may be due to a blocked port, missing dependencies, 

improper privileges, a crash, or a shutdown by another method.

Press the Logs button to view error logs and check

the Windows Event Viewer for more clues

If you need more help, copy and post this

entire log window on the forums

Tomcat Started/Stopped with errors, return code: -1073741510

Make sure you have Java JDK or JRE installed and the required ports are free

Check the "/xampp/tomcat/logs" folder for more information

 

 

 

 

log를 뒤져보고 했는데 뭔 말이지 몰라서 Search Search 블로그

 

대부분 공통적으로 port가 중복 됐을거라는거

 

아파치가 '80'이랑 '433' 포트를 쓰는데 

 

 

 

두 가지 해결책이 있었다.

 

1. 아파치 포트를 바꾸던가

 

2. '80'이랑 '433' 포트쓰고 있는 애들을 죽이던가

 

나는 2번으로

 

 

 

 

일단 포트쓰고 있는 애를 찾기 위해서

 

win + r

실행창 띄우고

 

cmd

 

그리고 

netstat -nao

 

 

 

 

보면 433포트 쓰는 애는 없는데 80번 포트쓰는 애는 있다.

 

PID 번호가 1248

 

이 번호 기억해뒀다가

 

Ctrl + Alt +Delete 버튼을 눌러 작업관리자 실행

 

 

작업관리자  -

 

프로세스 -> 보기 -> 열 선택

 

'프로세스 페이지 열 선택' 이 나온다.

 

제일 위에 PID(프로세스 식별자) 에 체크 해주고 확인

 

아까 기억해 두었던 PID 프로세스를 찾아 오른쪽 버튼 눌러 죽여주자

 

 

 

 

된다 된다!! 

 

 

 

 

 

 

만약 아파치 포트를 바꾸고 싶으시다면

 

여기 사이트를 참고 하세요~!!!

 

http://blog.naver.com/PostView.nhn?blogId=pipecivil&logNo=50184664037&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

 

 

간단히 하면

 

XAMPP 실행해서

 

Apache 오른쪽에 Config 버튼 클릭!!

 

1. Apache (httpd.conf) 들어가서

 - 80 을 다른 번호로 수정

 

2. Apache (httpd-ssl.conf) 들어가서

 - 433 을 다른 번호로 수정

 

3. 그리고 XAMPP 프로그램 오른쪽 맨위에 Config 버튼 클릭 !!

 

Configuration of Control Panel  에서 Service and Port Settings 를 클릭 !!

 

여기서도 Apache port 수정해주고 Save !!

 

4. 윈도우 세팅도 !!

시작 -> 제어판 -> 프로그램 -> 프로그램 및 기능 -> Windows 기능 사용/사용 안함  클릭 !!

 

인터넷 정보 서비스 부분을 해제 해주면 됨 (원래 부터 체크 안되 있음 그냥 그대로 두고)

 

5. 윈도우 재시작 !!

 

6. XAMPP 고고씽!!  

 

출처 : https://gold9ine.tistory.com/entry/Apache-XAMPP-Apache-port-error

반응형

'Server' 카테고리의 다른 글

웹서버 304 에러  (0) 2020.05.07

+ Recent posts