# Remote API port

**URL:** <https://forums.suse.com/t/remote-api-port/1059>\
**Category:** Rancher 1.x\
**Created:** [November 23, 2015, 11:18pm UTC](https://forums.suse.com/t/remote-api-port/1059 "2015-11-23T23:18:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![claudiuo](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@claudiuo](https://forums.suse.com/u/claudiuo)\
**Post date:** [November 23, 2015, 11:18pm UTC](https://forums.suse.com/t/remote-api-port/1059/1 "2015-11-23T23:18:26Z")

</div>

For my Java projects, I am using a Gradle Docker plugin that creates a Docker image from a jar and publishes the image to boot2docker VM using Docker Remote API - all works well.

However, I really like Rancher so I just cloned the rancher repo [https://github.com/rancher/rancher](https://github.com/rancher/rancher) and used it to start a master and a host node. The only problem is I can’t figure out the Docker Remote API port which is needed for this plugin to work. Did a lot of searches but no luck. Is there any port exposed by default on RancherOS for the Remote API?

If not, is there any way I can enable it by myself? On Ubuntu I would edit /etc/init/docker.conf and do something like DOCKER\_OPTS=’-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock’ but I am not sure how to do this on Rancher.

Looking forward to an answer, I would love for my team to completely move to Rancher and I think this is the main hurdle right now.

Thanks in advance for any help!

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [December 17, 2015, 8:54pm UTC](https://forums.suse.com/t/remote-api-port/1059/2 "2015-12-17T20:54:33Z")

</div>

By default, RancherOS doesn’t expose anything. You can configure Docker using the cloud-config with the `extra_args` parameter.

[http://docs.rancher.com/os/configuration/docker/](http://docs.rancher.com/os/configuration/docker/)
