# how to connect a javascript program or some test program to connect to the gateways services.

**URL:** <https://discourse.nameko.io/t/how-to-connect-a-javascript-program-or-some-test-program-to-connect-to-the-gateways-services/263>\
**Category:** googlegroup\
**Created:** [June 27, 2018, 5:09pm UTC](https://discourse.nameko.io/t/how-to-connect-a-javascript-program-or-some-test-program-to-connect-to-the-gateways-services/263 "2018-06-27T17:09:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit\_Ceo2](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Ankit\_Ceo2](https://discourse.nameko.io/u/Ankit_Ceo2)\
**Post date:** [June 27, 2018, 5:09pm UTC](https://discourse.nameko.io/t/how-to-connect-a-javascript-program-or-some-test-program-to-connect-to-the-gateways-services/263/1 "2018-06-27T17:09:47Z")

</div>

How to connect a javascript program or some test program to connect to the  
gateways services which are shared by you and available on GitHub.

I have the services up and running with "docker-compose up" but not sure  
how to connect/consume to some external program to these services

---

<div class="post-metadata">

**Author:** ![Jakub\_Borys1](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@Jakub\_Borys1](https://discourse.nameko.io/u/Jakub_Borys1)\
**Post date:** [June 29, 2018, 3:41pm UTC](https://discourse.nameko.io/t/how-to-connect-a-javascript-program-or-some-test-program-to-connect-to-the-gateways-services/263/2 "2018-06-29T15:41:30Z")

</div>

Hi there,

Could you describe little bit more about what have you tried already or  
what errors you're getting?

When running nameko examples, gateway service's http endpoint is exposed  
on [http://localhost:8003](http://localhost:8003) url. Sample requests are included in the redame  
under "Running Examples" section  
[GitHub - nameko/nameko-examples: Nameko microservices example](https://github.com/nameko/nameko-examples#running-examples)

Jakub

> **···**
>
> On Wednesday, 27 June 2018 18:09:47 UTC+1, ankit...@gmail.com wrote:
> 
> > How to connect a javascript program or some test program to connect to the  
> > gateways services which are shared by you and available on GitHub.
> > 
> > I have the services up and running with "docker-compose up" but not sure  
> > how to connect/consume to some external program to these services
