往nacos注册时怎么设置为指定网段地址

打开配置文件,在里面加上下面配置

spring:
  cloud:
    inetutils:
      preferred-networks: 192.168.8.*

你可能感兴趣的:(springcloud,java)