spring boot
![[Spring boot] 열리는 port 번호 변경하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdna%2FcvWhIu%2FbtrOwCcqxvI%2FAAAAAAAAAAAAAAAAAAAAAG_R3vYNEe3qbtraJ1OBMoUoMhcv9wO_tpdHZo-yYxxd%2Fimg.png%3Fcredential%3DyqXZFxpELC7KVnFOS48ylbz2pIh7yKj8%26expires%3D1759244399%26allow_ip%3D%26allow_referer%3D%26signature%3Daz%252B5L1UUc3xqZOkjpIow1nuJlnA%253D)
[Spring boot] 열리는 port 번호 변경하기
Spring boot에서 port 번호 변경하는 법 버전 기준은 Gradle이다. src/main/resources/application.properties 위 해당 경로에서 간단하게 변경할 수 있다. 변경하고 실행을 해보면 Tomcat찡이 인식하여 변경해준다. Port 번호를 왜 바꾸나? 통상적으로 8080이 default로 되는 경우가 많은 거 같아, 프론트엔드와 통신할 때 충돌이 일어날 수도 있고, 다른 서버 애플리케이션과도 충돌이 일어나 피하고 싶은 마음에 바꾼 것이다.