Each my project is run on a localhost with default PHPStorm port :63342
and it causes many problems like PageNotFound(404) error.
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?
I would suggest installing MAMP (or similar) to manage your localhost. You can then create a local server configuration within PHPStorm to override the built in server.
More information about creating a local server config here 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.