使用nacos-discovery-spring-boot-starter:0.2.10用于注册实例的代码namingService.registerInstance配置文件如下nacos:discovery:server-addr:http://localhost:8848请务必注意,端口后面不能有任何符号,如斜线等,不允许。不然会报错Clientnotconnected,currentstatus:STARTING,苦不堪言。

使用nacos-discovery-spring-boot-starter:0.2.10用于注册实例的代码namingService.registerInstance配置文件如下nacos:discovery:server-addr:http://localhost:8848请务必注意,端口后面不能有任何符号,如斜线等,不允许。不然会报错Clientnotconnected,currentstatus:STARTING,苦不堪言。