Nacos

1 min

Missing startup command in the documentation

The command is bash startup.sh -m standalone. Not only Ubuntu, but Debian also requires bash.

image.webp
image.webp

gRPC

If you have forwarded ports, remember to forward the gRPC port as well!!!

Nacos has two ports: an HTTP port and a gRPC port. The gRPC port is calculated based on the HTTP port, with the formula being the HTTP port plus 1000. For example, if the HTTP port is 8848, then the gRPC port is 9848.

Authentication issues

If you have enabled authentication, when accessing Nacos, not only does spring.cloud.nacos.discovery need to be configured with username and password, but spring.cloud.nacos.config also needs to be configured!!!