赞
踩
- <dependencies>
- <!-- eureka服务器-->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
- </dependency>
- </dependencies>
- server:
- port: 10086 #服务端口
-
- spring:
- application:
- name: eurekaserver #eureka得服务名称
-
-
- eureka:
- client:
- service-url: #eureka得地址信息
- defaultZone: http://127.0.0.1:10086/eureka
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。