configure spring boot app to run on different port code example Example: change port in spring boot server.port=8081