Error reason for Nacos startup: the default configuration of Nacos is cluster startup, which can be modified to stand-alone startup (after Nacos 1.3.2, the default mode of Nacos is cluster mode).
The Nacos directory structure is as follows (the version of Nacos I use is 2.0.3):
1.open the bin directory and modify startup.com script
2.connects to MySQL, executes the SQL statement
opens the conf folder, creates a Nacos database, executes the following script
after execution, the results are as follows
3.opens the conf folder, modifies the configuration information
finds the following configuration in the conf folder and modifies the marked configuration items
test access 127.0 0.1:8848/Nacos account/password: Nacos/Nacos successfully opened the following page
Read More:
- [Solved] Nacos1.3.2 Startup Error: Unable to start embedded Tomcat
- [Solved] nacos Error: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance
- [Solved] nacos Startup Error: Unable to start embedded Tomcat
- [Solved] Nacos Startup Error: Error creating bean with name ‘authFilter‘
- How to Solve Docker Portainer Connect Error
- [Solved] nacos Startup Error: Please set the JAVA_HOME variable in your environment
- How to Solve IBM MQ Connect Error Code 2035
- How to Solve Spring integrate Seata startup error
- Spring cloud remote connect Nacos error [How to Solve]
- [Solved] Nacos Serve Local Startup Error: Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCre
- How to Solve appium Startup Error (Various Error Messages)
- [Solved] Project Startup Error: Redis health check failed:Unable to connect to localhost6379
- [Solved] Project Startup Error: Redis health check failed: Unable to connect to localhost6379
- Nacos boot error, unable to find Java_HOME [How to Solve]
- [Solved] Unable to connect to a as user root com.jcraft.jsch.JSchException: Auth failUnable to connect
- How to Solve c3p0 error (Cause & Solution)
- The @value annotation of springboot adds the default value to solve the startup error caused by the non-existent key
- How to Solve ERROR: Java 1.7 or later is required to run Apache Drill
- How to Solve Error: Your ApplicationContext is unlikely to start due to a @ComponentScan of the default package.
- [Solved] Jedis connect and operate Redis error: Failed to create socket和connect timed out