# Configuring the http example that connects to ZitiMobileEdge client

**URL:** <https://openziti.discourse.group/t/configuring-the-http-example-that-connects-to-zitimobileedge-client/375>\
**Category:** Building/Development\
**Created:** [April 6, 2022, 2:28am UTC](https://openziti.discourse.group/t/configuring-the-http-example-that-connects-to-zitimobileedge-client/375 "2022-04-06T02:28:10Z")\
**Posts on this page:** 1\
**Showing post:** 33

<div class="post-metadata">

**Author:** ![TheLumberjack](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/thelumberjack/32/113_2.png) [@TheLumberjack](https://openziti.discourse.group/u/TheLumberjack)\
**Post date:** [April 10, 2022, 12:37am UTC](https://openziti.discourse.group/t/configuring-the-http-example-that-connects-to-zitimobileedge-client/375/33 "2022-04-10T00:37:16Z")

</div>

Ok. I hope this helps... Here are the commands/notes I show in the video. @markamind I think you can start from the bullet labeled "HERE IS THE FIX".

#### Things done before the video starts:

- Create VCN

- Create Subnet

- Create Security List

- opened ports 8441-8443

- used netcat `nc` to very ports were open

- create instance named openziti09b

- opened LOCAL firewall in firewalld with:

- disable selinux - didn't troubleshoot but SELINUX prevented the systemd units from working

- installed golang using [instructions from here](https://citizix.com/how-to-install-go-in-fedora-and-rocky-linux-centos-rhel/)

- installing golang via that link puts go into /usr/local/go/bin/go, so i also added `/usr/local/go/bin/` to my path in .bashrc

- Installed git using:

#### Steps in the video [https://youtu.be/AgVpRqb8k-Q](https://youtu.be/AgVpRqb8k-Q)

[![](https://global.discourse-cdn.com/free1/uploads/netfoundry/original/1X/6dd3b83e702fc0435158ef24a68cc7dcc858a30b.jpeg "Discourse Help - OCI Quickstart - unlisted") ](https://www.youtube.com/watch?v=AgVpRqb8k-Q)

- **RERAN** expressInstall with EXTERNAL\_DNS set to the EXTERNAL\_IP! This was important - due to Oracle Cloud. Unlike AWS oracle doesn't give your compute instances a DNS name.

- **HERE IS THE FIX** the quickstart is putting the hostname into the router configuration. To fix that you need to edit the configuration finding the hostname and replacing it with the external IP address. Then you need to deleting/recreate the edge router. Only do this after successfully running quickstart.

- installed ZAC by following the [ZAC install guide](https://openziti.github.io/ziti/quickstarts/zac/installation.html)

#### Making sure it all works:

Once I had the ZAC running and fixed the bug I was able to verify the golang http example was working by running the zitified server/client and testing with my local browser...

- created four identities: one for the golang server, one for the client, one for my desktop, one for my mobile.

- i enrolled the server/client for immediate use.

- identities were created using `-a "http-clients"` so that i could make one 'dial' policy and use the attribute

- created the one needed **config** , the **service** , and two **policies**...

- cloned the golang sdk for demo use:

- ran the zitified simple-server

- ran the zitified simple-client

- opened this url in desktop browser and saw the expected results

---

_[View the full topic](https://openziti.discourse.group/t/configuring-the-http-example-that-connects-to-zitimobileedge-client/375)._
