# \[fixed\] Changing app.server\_port to port other than 443 makes web console unable to be accessed, even when i open the port to firewall

**URL:** <https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681>\
**Category:** Pritunl VPN\
**Tags:** pritunl\
**Created:** [January 12, 2023, 5:33am UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681 "2023-01-12T05:33:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![newholder](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@newholder](https://forum.pritunl.com/u/newholder)\
**Post date:** [January 12, 2023, 5:33am UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/1 "2023-01-12T05:33:28Z")

</div>

My intention is to reverse proxy the web console under a different subdomain using nginx, so i can have 1 subdomain for VPN and 1 for my personal website. But when i change the port, it said “bind permission denied”

 ![Pritunl Trouble](https://forum-static.pritunl.com/original/1X/487789de56c1cdb68871bd4219ef2782ee59d2f0.png)

fix:  
SElinux blocked the app from using port unless the port is specified for http. which for my server is 80, 443, 444, 8008, 8009 and 9000. use the listed port and all was well

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [January 12, 2023, 8:48pm UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/2 "2023-01-12T20:48:29Z")

</div>

SELinux will block access to ports below 10000. It can be included with the command `sudo semanage port -a -t pritunl_web_t -p tcp 8443`.

---

<div class="post-metadata">

**Author:** ![newholder](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@newholder](https://forum.pritunl.com/u/newholder)\
**Post date:** [January 13, 2023, 7:17am UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/3 "2023-01-13T07:17:59Z")

</div>

Thank you so much. I just bind it to the port that SELinux allowed and it’s good enough.

Another question: Is there a way to bind it to only open to localhost or is it not a good idea?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [January 14, 2023, 2:34am UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/4 "2023-01-14T02:34:33Z")

</div>

The bind address is set on each host in the `/etc/pritunl.conf` file with the `bind_addr` option.

---

<div class="post-metadata">

**Author:** ![newholder](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@newholder](https://forum.pritunl.com/u/newholder)\
**Post date:** [January 16, 2023, 2:03pm UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/5 "2023-01-16T14:03:24Z")

</div>

i put my webconsole behind nginx server. that’s why i wanna change the port. will it affect client ability to sync config?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [January 16, 2023, 9:27pm UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/6 "2023-01-16T21:27:21Z")

</div>

This is documented in the [**load balancing**](https://docs.pritunl.com/docs/load-balancing) documentation. The host sync address should be set to the domain name of the web server.

---

<div class="post-metadata">

**Author:** ![newholder](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/n/43a26b/32.png) [@newholder](https://forum.pritunl.com/u/newholder)\
**Post date:** [January 19, 2023, 2:51pm UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/7 "2023-01-19T14:51:28Z")

</div>

i’m sorry but how do i set sync address. i can’t found the setting in my web console

Edit: I think this is for enterprise version only. oh well

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [January 19, 2023, 7:11pm UTC](https://forum.pritunl.com/t/fixed-changing-app-server-port-to-port-other-than-443-makes-web-console-unable-to-be-accessed-even-when-i-open-the-port-to-firewall/681/8 "2023-01-19T19:11:38Z")

</div>

When there is only one server the sync address should not be required. The configuration sync also requires a premium subscription. The profile settings on the client will show the current sync address and the last time a successful sync occurred. This will only occur if the configuration changes.
