# Mender Server/Swagger

**URL:** <https://hub.mender.io/t/mender-server-swagger/1394>\
**Category:** General Discussions\
**Tags:** demo-server\
**Created:** [January 1, 2020, 1:22pm UTC](https://hub.mender.io/t/mender-server-swagger/1394 "2020-01-01T13:22:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![colinbes](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/colinbes/32/448_2.png) [@colinbes](https://hub.mender.io/u/colinbes)\
**Post date:** [January 1, 2020, 1:22pm UTC](https://hub.mender.io/t/mender-server-swagger/1394/1 "2020-01-01T13:22:40Z")

</div>

I have installed demo server as per notes via docker container. I have noticed in addition to mender server running that swagger is also running on port 8080. Is this needed and if so any info as to why and if not, how do I shut it down?

Thanks

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [January 3, 2020, 6:35am UTC](https://hub.mender.io/t/mender-server-swagger/1394/2 "2020-01-03T06:35:21Z")

</div>

I’m not sure about the reason, but this port is only open in the demo,  
AFAIK. As soon as you install a production server, this port will be closed.

---

<div class="post-metadata">

**Author:** ![mzedel](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/mzedel/32/261_2.png) [@mzedel](https://hub.mender.io/u/mzedel)\
**Post date:** [January 3, 2020, 9:24am UTC](https://hub.mender.io/t/mender-server-swagger/1394/3 "2020-01-03T09:24:30Z")

</div>

Apparently that is part of the conductor instance and opened [here](https://github.com/mendersoftware/integration/blob/master/docker-compose.demo.yml#L80). It is not needed to run the environment and can be removed, it _might_ be helpful in case some of the basic workflows being run during the demo fail.  
To remove it in the demo setup you can just comment or remove the port opening lines (lines 79 & 80):

```auto
        ports:
            - "8080:8080"

```

As @kacf said this will not be open in a prod installation.

---

<div class="post-metadata">

**Author:** ![colinbes](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/colinbes/32/448_2.png) [@colinbes](https://hub.mender.io/u/colinbes)\
**Post date:** [January 6, 2020, 3:49pm UTC](https://hub.mender.io/t/mender-server-swagger/1394/4 "2020-01-06T15:49:47Z")

</div>

Thanks for the responses.

---

<div class="post-metadata">

**Author:** ![colinbes](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/colinbes/32/448_2.png) [@colinbes](https://hub.mender.io/u/colinbes)\
**Post date:** [January 20, 2020, 3:11pm UTC](https://hub.mender.io/t/mender-server-swagger/1394/5 "2020-01-20T15:11:14Z")

</div>

Commenting out both lines solved my problem.
