본문 바로가기
개발언어/Java

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

by 공장장코난 2021. 9. 28.

이번에는 Intellij를 통해 emq broker에 등록된 topic을 subscribe하는 sample을 실행, publish하는 sample을 실행하는 8080 port 중복 오류가 발생한다. 

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

application.properties에 server port를 변경해주는 방법이 있으나, 수행될 program은 server 역활이 없으므로 build.gradle에 아래 항목을 삭제 후 해결했다.

implementation 'org.springframework.cloud:spring-cloud-config-server'