Saturday, September 24, 2016

Run Spring Boot application with another port with Gradle 'bootRun'

To run Spring Boot application with another port with Gradle 'bootRun', do as follows:

SERVER_PORT=28080 ./gradlew bootRun

No comments:

Post a Comment