如果您未将 localhost定义为环回地址,End Point Operations Management 代理不会注册,并且显示以下错误:连接失败。服务器可能关闭 (或者使用了错误的 IP/端口)。等待 10 秒后重试 (Connection failed. Server may be down (or wrong IP/port were used). Waiting for 10 seconds before retrying)

作为解决办法,请完成以下步骤:

过程

  1. 在 Linux 上打开主机文件 /etc/hosts,或者在 Windows 上打开 C:\Windows\System32\Drivers\etc\hosts
  2. 使用 127.0.0.1 localhost修改该文件以包含映射到 IPv4 127.0.0.1 环回地址的 localhost
  3. 保存文件。