Newbie question - adding first Host need public ip

I have a FreeNAS 11.1 Server and into a VM I added Rancher.
I have access to the Rancher GUI -
now I need to add a host, but when I do copy the code into my Terminal - the Problem is he request a Public IP Address which I do not have :wink:
so what did I miss when setting up?
have a nice day

this is the code i added

[rancher@rancher ~]$ sudo docker run -e CATTLE_HOST_LABELS=β€˜host4=’ --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.7 https: //
INFO: Running Agent Registration Process, CATTLE_URL=
INFO: Attempting to connect to: https ://
ERROR: is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)

how to solve this problem?

the Problem is solved!
the problem was to set the IP Address x.x.x.x:8080 to http and not to https
Have a nice day