# Rancher OS with portainer

**URL:** <https://forums.suse.com/t/rancher-os-with-portainer/5338>\
**Category:** RancherOS\
**Created:** [January 27, 2017, 11:37am UTC](https://forums.suse.com/t/rancher-os-with-portainer/5338 "2017-01-27T11:37:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nimms](https://avatars.discourse-cdn.com/v4/letter/n/7c8e57/32.png) [@Nimms](https://forums.suse.com/u/Nimms)\
**Post date:** [January 27, 2017, 11:37am UTC](https://forums.suse.com/t/rancher-os-with-portainer/5338/1 "2017-01-27T11:37:58Z")

</div>

Hi I am using AWS rancher AMI to create server. And I am able to run all my docker containers there.  
Now I am just trying with portainer to view all containers in all my servers.I ran the docker Image of portainer and access it through the url. And I am able to list all my containers in the server where portainer is running. Now I want to list the remote endpoints. But adding a new new end point it is not able to connect with the port 2376. I added the firewall port 2376 but not sure docker is running on port 2376.  
I checked the cloud-config.yaml file, but no information about on which port docker is running.  
can anyone tell me by default on which port docker is running on an AWS rancher ami server , how to check it?  
if not how to add it?  
I tried to add tls-args in cloud\_config.yml as -h 0.0.0.0:2376  
after that I am getting the error as Cannot connect to the Docker daemon. Is the docker daemon running on this host?  
Can any one help me on this?

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [January 29, 2017, 7:09pm UTC](https://forums.suse.com/t/rancher-os-with-portainer/5338/2 "2017-01-29T19:09:01Z")

</div>

Have you tried out the docs for TLS? ([https://docs.rancher.com/os/configuration/setting-up-docker-tls/](https://docs.rancher.com/os/configuration/setting-up-docker-tls/))
