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