starting second jar gives 8081 port in use spring boot code example Example: change spring port server.port=8081