server:
port: 9003
spring:
application:
name: dm-eureka-server
eureka:
client:
service-url:
defaultZone: http://localhost:${server.port}/eureka/
fetch-registry: false
register-with-eureka: false
spring Cloud 连接超时 怎么解决?
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答
- www359956085 2020-01-02 13:46关注
defaultZone: http://localhost:${server.port}/eureka/
这里应该配置eureka的端口吧解决 无用评论 打赏 举报