# Internal service API call between service

**URL:** <https://forums.suse.com/t/internal-service-api-call-between-service/7333>\
**Category:** General\
**Created:** [September 14, 2017, 11:47pm UTC](https://forums.suse.com/t/internal-service-api-call-between-service/7333 "2017-09-14T23:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulhkhsu](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@paulhkhsu](https://forums.suse.com/u/paulhkhsu)\
**Post date:** [September 14, 2017, 11:47pm UTC](https://forums.suse.com/t/internal-service-api-call-between-service/7333/1 "2017-09-14T23:47:29Z")

</div>

I set up a Mesos environment with three nodes. I have two service as following

service1 run internal 8080 with three containers.  
service2 run internal 8080 with three containers.

Now service 1/2 have not public IP.  
I plan to us LB expose public IP to service 1, so service 1 is public outside container.  
service1 will call service2 internal. I believe that rancher handle service register and discovery.

Now my question that how I can access service2 by using URL like  
[http://service2:8080/cust](http://service2:8080/cust). from service1.

Docker swarm provide mesh net concept, so the URL form automatically supported.

For rancher Mesos, do I need to declare link (like doker-composer) when I create service1? [http://service2:8080](http://service2:8080) will do round robin to three containers?
