Ändern Sie den Standardport in Spring Boot Codegrepper

java -jar -Dserver.port=8081 <path to jar file>
Smoggy Snail