# Devkinsta port number changed automatically and giving error :report.local unexpectedly closed the connection

**URL:** https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956
**Category:** Application Support
**Created:** [December 21, 2022, 6:20am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956 "2022-12-21T06:20:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Anirudha\_Chakrabarty](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/anirudha_chakrabarty/32/1750_2.png) [@Anirudha\_Chakrabarty](https://community.kinsta.com/u/Anirudha_Chakrabarty)
#### Post date: [December 21, 2022, 6:20am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/1 "2022-12-21T06:20:38Z")

</div>

Hi, I am facing problem running my local site in kinsta…  
The port number automatically changed to [**https://report.local:51950**](https://report.local:51950/) and giving error  
This site can’t be reached  
report.local unexpectedly closed the connection.

It was opening previously but Once started the xampp then the dev kinsta automatically changed the url to - [https://report.local:51950/](https://report.local:51950/)

And page is not opening… Can anyone help me please? I am unable to perform any task and got stuck…

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [December 21, 2022, 7:27am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/2 "2022-12-21T07:27:30Z")

</div>

Hello there @Anirudha_Chakrabarty 👋 welcome to DevKinsta community!

This might be due to the default web service ports (80 and 443) are used by other services running on your local computer (might be Apache that’s running by the XMAPP as you mentioned and it used those default ports possibly). Similar to the case as was reported (and resolved) [here](https://community.kinsta.com/t/disable-local-using-ports-e-g-mysite-local-51015/1612) and [here as well](https://community.kinsta.com/t/port-55948-added-after-local-url/1166).

If that’s the case, you may want to try stop the Apache service (or set it up with different ports other than 80/443 in its config file and re-start the Apache service), and also in **DevKinsta → Settings → Port selector** , you may want to un-check the “**[] Auto-detect open ports**” and set the **HTTP** to **80** and **HTTPS** to **443** (click the **Confirm** button) and check if you’re able to run your local site at `https://report.local`

Hopefully that will help to solve the issue you’re experiencing with that custom port thing.

cheers,  
Agus

---

<div class="post-metadata">

### Author: ![Anirudha\_Chakrabarty](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/anirudha_chakrabarty/32/1750_2.png) [@Anirudha\_Chakrabarty](https://community.kinsta.com/u/Anirudha_Chakrabarty)
#### Post date: [December 21, 2022, 7:55am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/3 "2022-12-21T07:55:33Z")

</div>

@Agus Thanks… But I can’t find Port selector inside settings…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/63a09cf355864683531672531049f984856d20ac.png)

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [December 21, 2022, 8:01am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/4 "2022-12-21T08:01:08Z")

</div>

Thank you for your reply 🙂  
Please click on the blue button (on the bottom-left side), that will send you to the Settings page, and on that page, you can scroll down and find the “Port Selector” section.

Cheers,  
Agus

---

<div class="post-metadata">

### Author: ![Anirudha\_Chakrabarty](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/anirudha_chakrabarty/32/1750_2.png) [@Anirudha\_Chakrabarty](https://community.kinsta.com/u/Anirudha_Chakrabarty)
#### Post date: [December 21, 2022, 8:07am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/5 "2022-12-21T08:07:22Z")

</div>

@Agus it’s working now… Thanks a lot dear ❤

---

<div class="post-metadata">

### Author: ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)
#### Post date: [December 21, 2022, 8:09am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/6 "2022-12-21T08:09:29Z")

</div>

Awesome! glad to hear that it’s working for you now! 👏 😃

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)
#### Post date: [December 24, 2022, 8:10am UTC](https://community.kinsta.com/t/devkinsta-port-number-changed-automatically-and-giving-error-report-local-unexpectedly-closed-the-connection/1956/7 "2022-12-24T08:10:04Z")

</div>

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