# The system service port that RobotStudio emulates is always changing, not the 80 in the documentatio

**URL:** <https://tech-community.robotics.abb.com/t/the-system-service-port-that-robotstudio-emulates-is-always-changing-not-the-80-in-the-documentatio/9595>\
**Category:** Developer Tools\
**Tags:** webservices, c\
**Created:** [June 29, 2020, 8:06am UTC](https://tech-community.robotics.abb.com/t/the-system-service-port-that-robotstudio-emulates-is-always-changing-not-the-80-in-the-documentatio/9595 "2020-06-29T08:06:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sample](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Sample](https://tech-community.robotics.abb.com/u/Sample)\
**Post date:** [June 29, 2020, 8:06am UTC](https://tech-community.robotics.abb.com/t/the-system-service-port-that-robotstudio-emulates-is-always-changing-not-the-80-in-the-documentatio/9595/1 "2020-06-29T08:06:34Z")

</div>

What do I need to set the service port number to be fixed at 80?

---

<div class="post-metadata">

**Author:** ![Sample](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@Sample](https://tech-community.robotics.abb.com/u/Sample)\
**Post date:** [June 29, 2020, 9:30am UTC](https://tech-community.robotics.abb.com/t/the-system-service-port-that-robotstudio-emulates-is-always-changing-not-the-80-in-the-documentatio/9595/2 "2020-06-29T09:30:11Z")

</div>

According to the prompts in the video, I added listenSecure-1 in AppWeb. conf, which led to the failure of startup of the simulation robot. After note, it can start normally

---

<div class="post-metadata">

**Author:** ![dnilsson](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/dnilsson/32/795_2.png) [@dnilsson](https://tech-community.robotics.abb.com/u/dnilsson)\
**Post date:** [June 29, 2020, 2:13pm UTC](https://tech-community.robotics.abb.com/t/the-system-service-port-that-robotstudio-emulates-is-always-changing-not-the-80-in-the-documentatio/9595/3 "2020-06-29T14:13:03Z")

</div>

You are at the right place, you should modify appweb.conf. But you have mixed things up a bit.

Listen -1 ==\> Is for HTTP connection. Defaults to 80 if you don’t have any server running on localhost port 80 that interfere then it will assign a random port. If so the specify the port manually by exchanging -1 to the port number you wish to use instead.

ListenSecure 666 ==\> Is used for HTTPS which normally uses port 443 not port 80. Using -1 here will result in a random port assignment so specify the port you wish to use here (not port 80).

**TL;DR**

For HTTP:  
Change “Listen -1” to “Listen 6767” to have the VC always listen on port 6767.

For HTTPS:  
Change “ListenSecure -1” to “ListenSecure 6767” to have the VC always listen on port 6767.
