错误:URL不能包含localhost或127.0.0.1,请检查主机注册URL

错误:URL不能包含localhost或127.0.0.1,请检查主机注册URL,url,rancher,cattle,Url,Rancher,Cattle,当我尝试为Rancher服务器添加自定义主机时,会出现错误:URL不能包含localhost或127.0.0.1,请检查主机注册URL。只是不要使用localhost或127.0.0.1:(用于Rancher主机注册URL(在Rancher server/admin/settings中) 找到您的真实ip(适用于mac ifconfig…) 将主机注册URL更改为已建立的IP(在rancher server/admin/settings菜单中) 复制注册脚本(在rancher server/in

当我尝试为Rancher服务器添加自定义主机时,会出现错误:URL不能包含localhost或127.0.0.1,请检查主机注册URL。

只是不要使用localhost或127.0.0.1:(用于Rancher主机注册URL(在Rancher server/admin/settings中)

  • 找到您的真实ip(适用于mac ifconfig…)
  • 将主机注册URL更改为已建立的IP(在rancher server/admin/settings菜单中)
  • 复制注册脚本(在rancher server/infrastructure/hosts/add hosts/custom中)
  • 在CLI中运行脚本