The port that the eureka-client provides to eureka-server is wrong when the server.port is defined with ${random.int}
Example: When the server boots up the application port is set to 8050 but the Eureka instance have port 8064
Comment From: spencergibb
see https://github.com/spring-cloud/spring-cloud-netflix/issues/843