# Newbie question - adding first Host need public ip

**URL:** <https://forums.suse.com/t/newbie-question-adding-first-host-need-public-ip/8084>\
**Category:** General\
**Created:** [December 21, 2017, 6:37am UTC](https://forums.suse.com/t/newbie-question-adding-first-host-need-public-ip/8084 "2017-12-21T06:37:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://forums.suse.com/u/vikozo)\
**Post date:** [December 21, 2017, 6:37am UTC](https://forums.suse.com/t/newbie-question-adding-first-host-need-public-ip/8084/1 "2017-12-21T06:37:54Z")

</div>

hello  
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 😉  
so what did I miss when setting up?  
have a nice day  
vinc

---

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://forums.suse.com/u/vikozo)\
**Post date:** [December 23, 2017, 3:52pm UTC](https://forums.suse.com/t/newbie-question-adding-first-host-need-public-ip/8084/2 "2017-12-23T15:52:31Z")

</div>

Hello  
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: [//10.147.42.130:8080/v1/scripts/49F7E6AE249F00566EB6:1483142400000:uowA1LfGFxULopYkFMVTlYdEko](https://10.147.42.130:8080/v1/scripts/49F7E6AE249F00566EB6:1483142400000:uowA1LfGFxULopYkFMVTlYdEko)  
6  
INFO: Running Agent Registration Process, CATTLE\_URL=https://10.147.42.130:8080/v1  
INFO: Attempting to connect to: https ://10.147.42.130:8080/v1  
ERROR: [https://10.147.42.130:8080/v1](https://10.147.42.130:8080/v1) is not accessible (server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none)

how to solve this problem?

---

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://forums.suse.com/u/vikozo)\
**Post date:** [January 5, 2018, 11:48am UTC](https://forums.suse.com/t/newbie-question-adding-first-host-need-public-ip/8084/3 "2018-01-05T11:48:47Z")

</div>

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