개발자 되기 part1/Error
XAMPP Port Error - Port8080 in use by
Developer J
2021. 1. 21. 14:26
반응형
- XAMPP는 Apache(웹서버)와 MySQL(데이터 베이스)을 한번에 가지고 있는 패키지이다.
- React와 SpringBoot를 활용해서 게시판을 만들기 위해 환경을 세팅하던 중 발생한 에러이다.
- 그림에서와 같이 빨간색으로 error문구가 나온다.
오후 1:57:34 [Tomcat] Problem detected!
오후 1:57:34 [Tomcat] Port 8080 in use by "C:\oraclexe\app\oracle\product\11.2.0\server\BIN\tnslsnr.exe"!
오후 1:57:34 [Tomcat] Tomcat WILL NOT start without the configured ports free!
오후 1:57:34 [Tomcat] You need to uninstall/disable/reconfigure the blocking application
오후 1:57:34 [Tomcat] or reconfigure Tomcat and the Control Panel to listen on a different port
- 내용을 읽어보면 port를 oracle에서 사용중인 것을 알 수 있다.
- Window + R -> cmd를 실행 -> netstat -ano를 입력 -> 사용중인 포트 확인한다.
- 해결 방법!!
- Run SQL Command Line을 실행
- 관리자로 연결
- conn /as sysdba
- 현재 포트확인
- select dbms_xdb.gethttpport() from dual;
- 포트변경 내장프로시져 실행
- exec dbms_xdb.sethttpport(9090);
반응형