springcloud
呐呐呐-
喜欢编程世界的小白
展开
-
SpringCloud Netflix练习错误注意点
1. linux防火墙未关闭,导致服务注册不上去zookeeper 关闭防火墙指令 systemctl stop firewalld 查看防火墙状态指令 systemctl status firewalld Active: inactive (dead) 为关闭 Active: active (running) 为运行中原创 2020-11-16 14:27:32 · 95 阅读 · 0 评论 -
记一次Eureka的坑:服务注册不了
客户端注册不了服务 事发经过:创建一个消费者,想要注册到eureka中,但是却怎么都注册不上去。 原因 两者导入的依赖不一致 <!--服务器用的是这个依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </原创 2020-11-13 10:36:12 · 564 阅读 · 0 评论