https://sallykim5087.tistory.com/202
[Spring Boot]Web server failed to start. Port 8080 was already in use.
오류 내용 *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the pro..
sallykim5087.tistory.com
첫번째 방법 :
application.properties 내에 내용을 추가한다.
이런식으로 적어주면 된다는데 나는 안 됐음...
그래서 두번째 방법을 사용함
java -jar hello-spring-0.0.1-SNAPSHOT.jar --server.port=9091
구동하면서 뒤쪽에 포트번호를 적어줬다.
댓글