how to change port number in spring boot application code example Example: change spring port server.port=8081