# Get 403 error response while trying to open http://localhost:5601/ from local development environment

**URL:** <https://discuss.elastic.co/t/get-403-error-response-while-trying-to-open-http-localhost-5601-from-local-development-environment/184069>\
**Category:** Kibana\
**Created:** [June 3, 2019, 11:36pm UTC](https://discuss.elastic.co/t/get-403-error-response-while-trying-to-open-http-localhost-5601-from-local-development-environment/184069 "2019-06-03T23:36:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seraphjiang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seraphjiang/32/47402_2.png) [@seraphjiang](https://discuss.elastic.co/u/seraphjiang)\
**Post date:** [June 3, 2019, 11:36pm UTC](https://discuss.elastic.co/t/get-403-error-response-while-trying-to-open-http-localhost-5601-from-local-development-environment/184069/1 "2019-06-03T23:36:23Z")

</div>

I'm trying to follow wiki [https://github.com/elastic/kibana/blob/7.1/CONTRIBUTING.md#setting-up-your-development-environment](https://github.com/elastic/kibana/blob/7.1/CONTRIBUTING.md#setting-up-your-development-environment) to setup kibana development environment

i'm able to run elasticsearch locally with

```auto
yarn es snapshot

```

i can also run kibana with

```auto
yarn start

```

after i started kibana local environment. i tried to open [http://localhost:5601/](http://localhost:5601/) via browser.  
it got redirect to [http://localhost:5601/ykl](http://localhost:5601/ykl) and return back a 403 error response

```auto
{"statusCode":403,"error":"Forbidden","message":"Forbidden"}

```

i'm not able to access homepage, but i'm able to open status page via [http://localhost:5601/ykl/status#?\_g=()](http://localhost:5601/ykl/status#?_g=())

what did I do wrong here?

how could i correct this to get access to homepage? by change config file or start kibana with different launch params?

could someone help?

---

<div class="post-metadata">

**Author:** ![seraphjiang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seraphjiang/32/47402_2.png) [@seraphjiang](https://discuss.elastic.co/u/seraphjiang)\
**Post date:** [June 4, 2019, 12:16am UTC](https://discuss.elastic.co/t/get-403-error-response-while-trying-to-open-http-localhost-5601-from-local-development-environment/184069/2 "2019-06-04T00:16:51Z")

</div>

I found answer myself.  
just use another default user account which has permission, actually, i login with `elastic` and it works

[https://www.elastic.co/guide/en/elastic-stack-overview/7.1/built-in-users.html](https://www.elastic.co/guide/en/elastic-stack-overview/7.1/built-in-users.html)

---

<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:** [July 2, 2019, 12:17am UTC](https://discuss.elastic.co/t/get-403-error-response-while-trying-to-open-http-localhost-5601-from-local-development-environment/184069/3 "2019-07-02T00:17:11Z")

</div>

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