Phpstorm for Web debugging, the default is the port number 63342, in the configuration of the local PHP environment when the default ports are not necessarily 63342 this, more is the system default port number 80, then the problem arises, How to change 63342 port to 80 port in Phpstorm, there are two ways to modify it, please see the following instructions:
1. In the menu bar under "Preferences" under "Build,execution,deployment" under "Debugger" to find "built-in server port" can change the port number, but there is a problem with this change, The number of manually entered ports is not accepted by the system, which can cause great inconvenience.
2. The same effect can be achieved by modifying the local configuration file of the Phpstorm, and the port number can be entered arbitrarily.
First we want to enter the MAC configuration file path for Phpstorm:
/users/admin/library/preferences/webide90/options
(Open Finder and use the shortcut key command+shift+g will appear to go to the folder, the path input press Enter is OK.) )
Look for the configuration file "Other.xml", "Other.xml" the file contents are as follows:
< Application > < name= "Builtinserveroptions" builtinserverport= "63342"/> </application>
Change the Phpstorm configuration file to the following:
< Application > < name= "Builtinserveroptions" builtinserverport= "/> " </ Application >
All right, that's it. The method of port setting for Phpstorm on Mac has already been finished, feel useful to comment on a bit of praise it.
Phpstorm 63342 Default Port how to modify