使用 PhpStorm XAMPP 打开文件时它使用的是端口 63442 而不是默认端口,我该如何更改它?

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

我有 Windows 10,使用 XAMPP 本地主机和 PhpStorm 作为 IDE。

当我在浏览器中打开显示 php 文件时,它显示了一个奇怪的 URL,例如:

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

而不是

http://localhost/projectfolder/index.php

我有以下设置:

我更改了这些设置以显示我的项目文件夹,反之亦然,但结果是一样的。

我该如何解决?

导航到 File | Settings | Build, Execution, Deployment | Deployment,定义一个新的网络服务器并 select 用作默认值。条目应以粗体显示,而不是常规显示。