Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS配置了server-addr,启动还是找loclahost #9793

Closed
aomsir opened this issue Jan 3, 2023 · 1 comment
Closed

macOS配置了server-addr,启动还是找loclahost #9793

aomsir opened this issue Jan 3, 2023 · 1 comment
Labels
area/Spring Cloud Related to Spring Cloud status/invalid This doesn't seem right

Comments

@aomsir
Copy link

aomsir commented Jan 3, 2023

spring:
  profiles:
    #引用application-common.yml文件
    include: common
  application:
    name: bff-driver
  redis:
    database: 3
    host: 192.168.212.144
    port: 6379
    password: 123456
    jedis:
      pool:
        max-active: 1000
        max-wait: -1ms
        max-idle: 16
        min-idle: 8
  cloud:
    inetutils:
      #子系统注册到Nacos上的IP地址
      preferred-networks: 192.168.212.144
    nacos:
      #配置子系统在Web管理页面上的注册信息
      config:
        group: DEFAULT_GROUP
        file-extension: yaml
        server-addr: 192.168.212.144:8848
        prefix: ${spring.application.name}
        namespace: hxds
      #配置子系统在Nacos上的注册信息
      discovery:
        namespace: hxds
        username: nacos
        password: nacos
        server-addr: 192.168.212.144:8848
        heart-beat-interval: 1000
        heart-beat-timeout: 1000
        group: DEFAULT_GROUP

如上配置,启动老师报错,如下
image

@KomachiSion KomachiSion added status/invalid This doesn't seem right area/Spring Cloud Related to Spring Cloud labels Jan 4, 2023
@KomachiSion
Copy link
Collaborator

Please move issue to SCA community.

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/Spring Cloud Related to Spring Cloud status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants