diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index b12f8fe..7f3cf06 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -22,12 +22,9 @@ spring: namespace: ${nacos.namespace} username: ${nacos.username} password: ${nacos.password} - # 强制注册你指定的IP(必须保留) - ip: 18.167.251.121 - port: 10093 - # ✅ 强制禁用网卡自动探测(关键!) - prefer-ip-address: true - ip-type: ipv4 + instance-protocol: http + instance-ip: 18.167.251.121 + instance-port: 10093 config: server-addr: ${nacos.host} namespace: ${nacos.namespace}