# Using port 443 to access kibanan (solution)

**URL:** <https://discuss.elastic.co/t/using-port-443-to-access-kibanan-solution/299317>\
**Category:** Kibana\
**Created:** [March 10, 2022, 10:11am UTC](https://discuss.elastic.co/t/using-port-443-to-access-kibanan-solution/299317 "2022-03-10T10:11:53Z")\
**Posts on this page:** 2\
**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:** [March 10, 2022, 10:11am UTC](https://discuss.elastic.co/t/using-port-443-to-access-kibanan-solution/299317/1 "2022-03-10T10:11:53Z")

</div>

Continuing the discussion from [How to use port 443 to access Kibana. legacy-multitenancy error](https://discuss.elastic.co/t/how-to-use-port-443-to-access-kibana-legacy-multitenancy-error/282567/3):

sorry for the delay in my answer.

[solution](https://github.com/elastic/kibana/issues/64346)

> setcap 'CAP\_NET\_BIND\_SERVICE=+eip' /usr/share/kibana/node/bin/node

then change the port after daemon-reload

then

> nano /etc/systemd/system/kibana.service

```auto
[Unit]
Description=Kibana

[Service]
Type=simple
User=root
Group=kibana
# Load env vars from /etc/default/ and /etc/sysconfig/ if they exist.
# Prefixing the path with '-' makes it try to load, but if the file doesn't
# exist, it continues onward.
EnvironmentFile=-/etc/default/kibana
EnvironmentFile=-/etc/sysconfig/kibana
#ExecStart=/usr/share/kibana/bin/kibana "-c /etc/kibana/kibana.yml --allow-root"

or 
ExecStart=/usr/share/kibana/bin/kibana --allow-root --logging.dest="/var/log/kibana/kibana.log" --pid.file="/run/kibana/kibana.pid"

Restart=on-failure
RestartSec=3
StartLimitBurst=3
StartLimitInterval=60
WorkingDirectory=/

[Install]
WantedBy=multi-user.target

```

restart start your kibana service

> kibana should start at 433

---

<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:** [April 7, 2022, 10:12am UTC](https://discuss.elastic.co/t/using-port-443-to-access-kibanan-solution/299317/2 "2022-04-07T10:12:10Z")

</div>

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