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