eureka显示ip地址的参数
eureka.instance.prefer-ip-address=true
eureka.instance.instance-id=${#spring.cloud.client.ipAddress}:${server.port}
eureka服务器的配置
spring.application.name=eureka-server
server.port=8888
eureka.client.serviceUrl.defaultZone=http://192.168.1.123:8888/eureka/
eureka.instance.prefer-ip-address=true
eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port}
~