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

Hello there @Anirudha_Chakrabarty :wave: 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 and here as well.

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

1 Like