Install Consul

请参阅 installation documentation以获取有关如何安装Consul的说明。

Please see the installation documentation for instructions on how to install Consul.

Consul Agent

Consul Agent客户端对所有Spring Cloud Consul应用程序都必须可用。默认情况下,Agent客户端预计位于`localhost:8500`。请参阅 Agent documentation以了解有关如何启动Agent客户端和如何连接到Consul Agent服务器群集的具体信息。根据上面的文档启动一个开发代理。

A Consul Agent client must be available to all Spring Cloud Consul applications. By default, the Agent client is expected to be at localhost:8500. See the Agent documentation for specifics on how to start an Agent client and how to connect to a cluster of Consul Agent Servers. Start a development agent according to the documentation above.

这将在端口 8500 上以服务器模式启动一个代理,ui 可在 [role="bare"][role="bare"]http://localhost:8500获取。

This will start an agent in server mode on port 8500, with the ui available at [role="bare"]http://localhost:8500