# Change kots Port After Install

**URL:** <https://community.replicated.com/t/change-kots-port-after-install/1392>\
**Category:** How do I?\
**Tags:** kots\
**Created:** [March 21, 2024, 7:36pm UTC](https://community.replicated.com/t/change-kots-port-after-install/1392 "2024-03-21T19:36:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/nick/32/655_2.png) [@Nick](https://community.replicated.com/u/Nick)\
**Post date:** [March 21, 2024, 7:36pm UTC](https://community.replicated.com/t/change-kots-port-after-install/1392/1 "2024-03-21T19:36:56Z")

</div>

Hey -

We had a customer ask if it’s possible to configure the port for kots to something other than 8800. I did find this document: [How do I use a custom port for kotsadm instead of 8800?](https://community.replicated.com/t/how-do-i-use-a-custom-port-for-kotsadm-instead-of-8800/633)

We were wondering - if kots is already installed on 8800 is it possible to re-configure it to another port after it’s already installed?

Thanks!

Nick

---

<div class="post-metadata">

**Author:** ![GerardNguyen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/gerardnguyen/32/828_2.png) [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Post date:** [March 25, 2024, 6:07am UTC](https://community.replicated.com/t/change-kots-port-after-install/1392/2 "2024-03-25T06:07:30Z")

</div>

Hi Nick,

You can use port-forward to temporarily access kotsadm from other port for testing.

```auto
kubectl port-forward svc/kurl-proxy-kotsadm <new_port>:8800 --address='0.0.0.0'

```

Hope this helps.

Gerard

---

<div class="post-metadata">

**Author:** ![Nick](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/nick/32/655_2.png) [@Nick](https://community.replicated.com/u/Nick)\
**Post date:** [March 27, 2024, 3:05pm UTC](https://community.replicated.com/t/change-kots-port-after-install/1392/3 "2024-03-27T15:05:16Z")

</div>

Hey Gerard -

Thanks for the response, though I don’t think this is what we were looking for unfortunately.

We’re more wondering if we can, after the install, change the port that kotsadm is exposing for the NodePort service. By default I believe it’s 8800 if you do not change it in kots configuration file.

A customer is wondering if we can change it after the fact, as they have a requirement that port not be open on the node and it needs to be blocked from outside of the node.

Thanks!

Nick

---

<div class="post-metadata">

**Author:** ![GerardNguyen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/gerardnguyen/32/828_2.png) [@GerardNguyen](https://community.replicated.com/u/GerardNguyen)\
**Post date:** [April 8, 2024, 6:58am UTC](https://community.replicated.com/t/change-kots-port-after-install/1392/4 "2024-04-08T06:58:29Z")

</div>

Apologies for the late reply @Nick,

To re-configure the kotsadm NodePort to another port after installation, customer can generate a new installer script with new `kotsadm.uiBindPort` and run it on any primary in the cluster.

[https://kurl.sh/docs/install-with-kurl/upgrading](https://kurl.sh/docs/install-with-kurl/upgrading)

I hope this helps.

Gerard
