how to set current host and current port in spring java jar code example Example: spring port server.port=8081