Search code examples
xamppphpstorm

Using PhpStorm XAMPP when opening file it is using port 63442 and rather than default port, how can I change it?


I have Windows 10, using XAMPP local host and PhpStorm as IDE.

When I open show the php file in browser, it shows a weird URL like:

http://localhost:63342/index.php/index.php?_ijt=k1qvpci720mq530tq6le3f4djb

instead of

http://localhost/projectfolder/index.php

I have the following settings:

enter image description here

enter image description here

enter image description here

I have changed these settings to show my project folder and vice versa, but the results are the same.

How do I fix that?


Solution

  • Navigate to File | Settings | Build, Execution, Deployment | Deployment, define a new web-server and select Use as Default. The entry should be in bold instead of regular.

    enter image description here