[英]PHPStorm 8 built-in default port disabling
Each my project is run on a localhost with default PHPStorm port :63342
and it causes many problems like PageNotFound(404) error. 我的每个项目都在具有默认PHPStorm端口
:63342
的本地主机上运行,它会导致许多问题,例如PageNotFound(404)错误。
Is there any way to disable this port or just correct it to act like localhost/
Do I need to create a special .htaccess or something? 有什么方法可以禁用此端口或仅将其更正为
localhost/
是否需要创建特殊的.htaccess或其他内容?
I would suggest installing MAMP (or similar) to manage your localhost. 我建议安装MAMP(或类似产品)来管理您的本地主机。 You can then create a local server configuration within PHPStorm to override the built in server.
然后,您可以在PHPStorm中创建本地服务器配置,以覆盖内置服务器。
More information about creating a local server config here https://www.jetbrains.com/phpstorm/help/creating-a-local-server-configuration.html 有关创建本地服务器配置的更多信息,请参见https://www.jetbrains.com/phpstorm/help/creating-a-local-server-configuration.html
The settings can be found here, in the settings panel (note this is PHPStorm 9, but the location is the same. 这些设置可以在此处的“设置”面板中找到(请注意,这是PHPStorm 9,但是位置相同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.