wone3
V2EX  ›  问与答

nacos 注册中心问题

  •  
  •   wone3 · Apr 17, 2024 · 1701 views
    This topic created in 781 days ago, the information mentioned may be changed or developed.
    本机 docker 安装了 nacos ,正常启动,能访问到控制台 后报错:
    ERROR 26612 --- [ main] c.a.cloud.nacos.discovery.NacosWatch : namingService subscribe failed, properties:NacosDiscoveryProperties{serverAddr='127.0.0.1:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='xxxx', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='172.20.xx.x', networkInterface='', port=-1, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, failFast=true}

    com.alibaba.nacos.api.exception.NacosException: Request nacos server failed:

    不明白什么原因,求指教
    2 replies    2024-04-17 16:54:52 +08:00
    wone3
        1
    wone3  
    OP
       Apr 17, 2024
    172.20.xx.x 是本人的真实 ip ,看见 文档上是说这样配,不太明白
    WhyLevi
        2
    WhyLevi  
       Apr 17, 2024
    Nacos 服务没起来,看下 docker 日志
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6151 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 02:07 · PVG 10:07 · LAX 19:07 · JFK 22:07
    ♥ Do have faith in what you're doing.