SyntaxFix
Write A Post
Hire A Developer
Questions
When you need a programatically way of doing it, you can set it during startup:
System.getProperties().put( "server.port", 80 ); SpringApplication.run(App.class, args);
This might help for things like environment dependent port. Have a nice day