在vm options 中输入yml中的配置
-Dspring.cloud.nacos.discovery.server-addr=NACOS-HOST:NACOS-PORT
将NACOS-HOST与NACOS-PORT改成要连接的nacos的host和port
idea vm options 链接nacos
最新推荐文章于 2024-05-21 17:35:47 发布
在vm options 中输入yml中的配置
-Dspring.cloud.nacos.discovery.server-addr=NACOS-HOST:NACOS-PORT
将NACOS-HOST与NACOS-PORT改成要连接的nacos的host和port