nacos 下载快速地址

https://nacos.io/

 

unzip nacos-server-2.4.3.zip


2025-01-09 23:01:41,725 INFO ADDRESS_SERVER_URL:http://jmenv.tbsite.net:8080/nacos/serverlist

2025-01-09 23:01:42,425 INFO Nacos is starting...

2025-01-09 23:01:43,426 INFO Nacos is starting...

2025-01-09 23:01:43,544 ERROR Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'distroFilterRegistration' defined in class path resource [com/alibaba/nacos/naming/web/NamingConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.FilterRegistrationBean]: Factory method 'distroFilterRegistration' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'distroFilter': Unsatisfied dependency expressed through field 'distroMapper'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'distroMapper' defined in URL [jar:file:/home/tools/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-naming-2.4.3.jar!/com/alibaba/nacos/naming/core/DistroMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverMemberManager' defined in URL [jar:file:/home/tools/nacos/target/nacos-server.jar!/BOOT-INF/lib/nacos-core-2.4.3.jar!/com/alibaba/nacos/core/cluster/ServerMemberManager.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.alibaba.nacos.core.cluster.ServerMemberManager]: Constructor threw exception; nested exception is ErrCode:500, ErrMsg:jmenv.tbsite.net

2025-01-09 23:01:43,569 INFO Stopping service [Tomcat]

 

Caused by: java.net.UnknownHostException: jmenv.tbsite.net

以单机启动就可以了
./startup.sh -m standalone

  • 特别注意Nacos 2.x版本与1.x版本在通信方式上的不同。Nacos 2.x默认使用gRPC通信方式,需要额外开放gRPC相关的端口(如9848和9849)。
  • 阿里云上要打开这个端口9848和9849

 

posted on 2025-01-09 22:48  悄悄的来,匆匆的走  阅读(58)  评论(0)    收藏  举报

导航