linux nacos startup error

nacos the installation is complete, start, can not access  http://192.168.1.105:8848/nacos  , HTTP 404

[root@localhost nacos]# sh bin/startup.sh -m standalone
/usr/local/java/jdk1.8.0_161/bin/java  -Xms512m -Xmx512m -Xmn256m -Dnacos.standalone=true -Djava.ext.dirs=/usr/local/java/jdk1.8.0_161/jre/lib/ext:/usr/local/java/jdk1.8.0_161/lib/ext:/usr/local/nacos/plugins/cmdb:/usr/local/nacos/plugins/mysql -Xloggc:/usr/local/nacos/logs/nacos_gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=100M -Dnacos.home=/usr/local/nacos -Dloader.path=/usr/local/nacos/plugins/health -jar /usr/local/nacos/target/nacos-server.jar  --spring.config.location=classpath:/,classpath:/config/,file:./,file:./config/,file:/usr/local/nacos/conf/ --logging.config=/usr/local/nacos/conf/nacos-logback.xml --server.max-http-header-size=524288
nacos is starting with standalone
nacos is starting,you can check the /usr/local/nacos/logs/start.out

View /usr/local/nacos/logs/start.out, to see what specific file prompts an error

Start without any error messages, it should be a firewall to block access to port 8848.

Look at the state of the firewall is running

[root@localhost conf]# firewall-cmd --state
running

Turn off the firewall, the problem is solved.

[root@localhost conf]# systemctl stop firewalld.service

Published 83 original articles · won praise 14 · views 60000 +

Guess you like

Origin blog.csdn.net/zhangjianming2018/article/details/105189719