用的是
nacos-discovery-spring-boot-starter:0.2.10
注册实例用的代码namingService.registerInstance
配置文件如下
nacos: discovery: server-addr: http://localhost:8848
请肯定要留神,端口前面不能有任何合乎,例如斜杠之类的,都不能够。
否则会报错Client not connected,current status:STARTING
我被它坑惨了。
用的是
nacos-discovery-spring-boot-starter:0.2.10
注册实例用的代码namingService.registerInstance
配置文件如下
nacos: discovery: server-addr: http://localhost:8848
请肯定要留神,端口前面不能有任何合乎,例如斜杠之类的,都不能够。
否则会报错Client not connected,current status:STARTING
我被它坑惨了。