When I try to add custom host for Rancher server it gives ERROR: CATTLE_URL cannot contain localhost or 127.0.0.1, please check the Host Registration URL.
Asked
Active
Viewed 3,255 times
1 Answers
3
just don't use localhost or 127.0.0.1 :( for your rancher host registration url (in rancher server / admin / settings)
- find your real ip (for mac ifconfig ...)
- change host registration URL to founded IP (in rancher server / admin / settings menu)
- copy register script (in rancher server / infrastructure / hosts / add hosts / custom)
- run your script in CLI

bora.oren
- 3,439
- 3
- 33
- 31