configure starting port for spring boot application code example Example: change spring port server.port=8081