How to run Spring boot application to custom port ? code example Example: change spring port server.port=8081