how to chage port no in spring boot code example Example: change port in spring boot server.port=8081