# How do I turn off http://localhost:5001/webui?

**URL:** <https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416>\
**Category:** Help\
**Tags:** go-ipfs, security, kubo\
**Created:** [January 8, 2024, 9:41am UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416 "2024-01-08T09:41:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozerhakan](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@ozerhakan](https://discuss.ipfs.tech/u/ozerhakan)\
**Post date:** [January 8, 2024, 9:41am UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416/1 "2024-01-08T09:41:56Z")

</div>

Hello to everyone  
Is there a setting to turn off webui?

Another option;  
Can I set authentication from config? How can I do that

thanks

---

<div class="post-metadata">

**Author:** ![hacdias](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hacdias/32/8255_2.png) [@hacdias](https://discuss.ipfs.tech/u/hacdias)\
**Post date:** [January 8, 2024, 9:44am UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416/2 "2024-01-08T09:44:31Z")

</div>

Hey @ozerhakan!

At the moment, I don’t think there’s a way of disabling the Web UI on the API address (anyone else please correct me if I’m wrong). I’m curious about what’s your use case and why you’d like to disable the Web UI on the API path?

If you really want to disable it, my suggestion is to setup a reverse proxy that proxies the traffic to the API path only (`/api/v0`).

---

<div class="post-metadata">

**Author:** ![ozerhakan](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@ozerhakan](https://discuss.ipfs.tech/u/ozerhakan)\
**Post date:** [January 8, 2024, 9:52am UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416/3 "2024-01-08T09:52:34Z")

</div>

Hello @hacdias, thank you for your answer.  
File can be edited via the web user interface. I don’t want this. I want to do this through my own application via API.

---

<div class="post-metadata">

**Author:** ![hacdias](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hacdias/32/8255_2.png) [@hacdias](https://discuss.ipfs.tech/u/hacdias)\
**Post date:** [January 8, 2024, 9:56am UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416/4 "2024-01-08T09:56:10Z")

</div>

Okay, I see. Then, you can still do it through your own application, right? They’re not mutually exclusive. If you really wan’t to disable it, I’d suggest a reverse-proxy for now.

Feel free to also [open an issue](https://github.com/ipfs/kubo/issues) if you’d like to see this as an option in Kubo’s configuration.

---

<div class="post-metadata">

**Author:** ![ozerhakan](https://avatars.discourse-cdn.com/v4/letter/o/df705f/32.png) [@ozerhakan](https://discuss.ipfs.tech/u/ozerhakan)\
**Post date:** [January 8, 2024, 2:33pm UTC](https://discuss.ipfs.tech/t/how-do-i-turn-off-http-localhost-5001-webui/17416/5 "2024-01-08T14:33:14Z")

</div>

Okey, I will block it at the network level in my own application.
