Phpstorm 63342 Default Port how to modify

Source: Internet
Author: User
Tags server port

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.