# How to use port 443 to access Kibana. legacy-multitenancy error

**URL:** <https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567>\
**Category:** Kibana\
**Created:** [August 26, 2021, 11:32am UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567 "2021-08-26T11:32:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shharukh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shharukh/32/139321_2.png) [@shharukh](https://discuss.elastic.co/u/shharukh)\
**Post date:** [August 26, 2021, 11:32am UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/1 "2021-08-26T11:32:55Z")

</div>

Hi Shahrukh here,

I have unique problem which is has been solved.  
I have successfully installed elasticsearch over HTTPS but I want to use the port 443.I have followed these steps given in the previous blog

`

> [@How to use port 443 to access Kibana](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana/266757):
>
> Hi, I think this is basic. How can I use port 443? Changing the kibana.yml itself is not enough?! Any other configurations on the OS level? Or something else? Currently, I can access with HTTPS but with port 5601 only. Configure the yml file will cause Kibana not to load. Cheers!

`  
but the problem still remains.

```auto
sudo setcap cap_net_bind_service=+epi /usr/share/kibana/node/bin/node 

```

by entering the above command none of the port are can be enable for kibana.  
and kibana keeps on restarting. if have to run kibana on the default port i have to run this command

```auto
sudo setcap cap_net_bind_service=-epi /usr/share/kibana/node/bin/node 

```

so its runs on 5601

ps: im using centoz 7  
kibana and elasticsearch version is 7.11.0

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [August 26, 2021, 1:01pm UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/2 "2021-08-26T13:01:41Z")

</div>

Hi @shharukh,

I also tried the commands from that post and they worked. Can you detail what error you are seeing now?

Also please confirm you ran below steps and KIBANA\_HOME is set properly:

In kibana.yml, set:

```auto
server.port: 443

```

In terminal, run:

```auto
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana-plugin
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/bin/kibana-keystore
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/kibana/node/bin/node

```

Thanks,  
Liza

---

<div class="post-metadata">

**Author:** ![shharukh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shharukh/32/139321_2.png) [@shharukh](https://discuss.elastic.co/u/shharukh)\
**Post date:** [August 27, 2021, 12:27pm UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/3 "2021-08-27T12:27:39Z")

</div>

Hey Liza,  
Thanks for the response, yes I have followed it in this manner still it doesn't work.  
The error log also doesn't show any waring except of the basic license waring and kibana-legacy-multitenancy-error.  
note that I'm using a two node cluster over HTTPS.  
On my previous one node Linux environment have followed these step .  
In kibana.yml, set:

```auto
server.port: 443

```

In terminal, run:

```auto
sudo setcap cap_net_bind_service=+epi $KIBANA_HOME/kibana/node/bin/node

```

and it worked applying the same steps in a different machine but it keeps on failing.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 30, 2021, 1:13am UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/4 "2021-08-30T01:13:02Z")

</div>

Sharing your Kibana logs would be helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 27, 2021, 1:13am UTC](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/5 "2021-09-27T01:13:58Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
