# Error: Switching kibana port failed The current kibana port configured in kibana.yml is 80, changing it to 5601 gives an error

**URL:** <https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516>\
**Category:** Kibana\
**Tags:** elastic-stack-reporting\
**Created:** [October 6, 2023, 4:03am UTC](https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516 "2023-10-06T04:03:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nghia\_D\_ng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nghia_d_ng/32/123483_2.png) [@Nghia\_D\_ng](https://discuss.elastic.co/u/Nghia_D_ng)\
**Post date:** [October 6, 2023, 4:03am UTC](https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516/1 "2023-10-06T04:03:13Z")

</div>

Sep 27 10:42:13 Kibana kibana[1250331]: {"type":"log","@timestamp":"2023-09-27T03:42:13Z","tags":["error","plugins","reporting","validations"],"pid":1250331,"message":"The Reporting plugin encountered issues launching Chromium in a self-test. You may have trouble generating reports."}

Sep 27 10:42:13 Kibana kibana[1250331]: {"type":"log","@timestamp":"2023-09-27T03:42:13Z","tags":["error","plugins","reporting","validations"],"pid":1250331,"message":"ErrorEvent {\n target:\n WebSocket {\n \_events:\n [Object: null prototype] { open: [Function], error: [Function] },\n \_eventsCount: 2,\n \_maxListeners: undefined,\n readyState: 3,\n protocol: '',\n \_binaryType: 'nodebuffer',\n \_closeFrameReceived: false,\n \_closeFrameSent: false,\n \_closeMessage: '',\n \_closeTimer: null,\n \_closeCode: 1006,\n \_extensions: {},\n \_receiver: null,\n \_sender: null,\n \_socket: null,\n \_isServer: false,\n \_redirects: 0,\n url:\n 'ws://127.0.0.1:38601/devtools/browser/1678c5ba-0557-420d-97dc-2df3f7ef2a2e',\n \_req: null },\n type: 'error',\n message: 'socket hang up',\n error:\n { Error: socket hang up\n at createHangUpError (\_http\_client.js:332:15)\n at Socket.socketOnEnd (\_http\_client.js:435:23)\n at Socket.emit (events.js:203:15)\n at endReadableNT (\_stream\_readable.js:1145:12)\n at process.\_tickCallback (internal/process/next\_tick.js:63:19) code: 'ECONNRESET' } }"}

Sep 27 10:42:13 Kibana kibana[1250331]: {"type":"log","@timestamp":"2023-09-27T03:42:13Z","tags":["error","plugins","reporting","validations"],"pid":1250331,"message":"Error: Could not close browser client handle!\n at browserFactory.test.then.browser (/u01/kibana-7.9.0-linux-x86\_64/x-pack/plugins/reporting/server/lib/validate/validate\_browser.js:26:15)\n at process.\_tickCallback (internal/process/next\_tick.js:68:7)"}

---

<div class="post-metadata">

**Author:** ![Nghia\_D\_ng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nghia_d_ng/32/123483_2.png) [@Nghia\_D\_ng](https://discuss.elastic.co/u/Nghia_D_ng)\
**Post date:** [October 6, 2023, 4:03am UTC](https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516/2 "2023-10-06T04:03:50Z")

</div>

Need support always  
Thank you!

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [October 27, 2023, 9:30pm UTC](https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516/3 "2023-10-27T21:30:26Z")

</div>

Hi, was the problem about the Reporting plugin breaking after you changed the server port in kibana.yml? Was the Reporting plugin working before you changed the server port?

---

<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:** [November 24, 2023, 9:30pm UTC](https://discuss.elastic.co/t/error-switching-kibana-port-failed-the-current-kibana-port-configured-in-kibana-yml-is-80-changing-it-to-5601-gives-an-error/344516/4 "2023-11-24T21:30:29Z")

</div>

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