Home > Operation and Maintenance > phpstudy > What should I do if port 80 is occupied when phpstudy is running?

What should I do if port 80 is occupied when phpstudy is running?

青灯夜游
Release: 2019-06-13 18:36:30
Original
22362 people have browsed it

What should I do if port 80 is occupied when phpstudy is running?

When running PHPstudy, it prompts that port 80 is occupied and the program cannot run.

What should I do if port 80 is occupied when phpstudy is running?

Solution steps:

1. Check what program occupies port 80. Generally, use the cmd that comes with Windows. Tools will do.

Press the Windows key R key directly below the keyboard, enter "cmd", and click "OK";

What should I do if port 80 is occupied when phpstudy is running?

2. Enter cmd In the interface, enter "netstat -ano" and press the Enter key;

What should I do if port 80 is occupied when phpstudy is running?

will display information such as the port and program ID occupied by the program in the current computer;

What should I do if port 80 is occupied when phpstudy is running?

The first one I saw is: 0.0.0.0:80 This is port 80, which is the tcp protocol, and the following PID is 4;

3 , End the process

Open the computer's task manager by pressing Ctrl Alt Delete three keys together, and then click "PID" to let the manager sort by PID, so that we can view it more conveniently. I saw the program with PID 4.

What should I do if port 80 is occupied when phpstudy is running?

If you don’t see the PID, you need to set up the manager: "View"->"Select Column"->Check "PID" options.

What should I do if port 80 is occupied when phpstudy is running?

Finally, select the process with PID 4, then right-click and select End Process;

4. After ending the process, no program will occupy port 80 , and then enter the PHPstudy interface and "start" it, the program will run normally.

The above is the detailed content of What should I do if port 80 is occupied when phpstudy is running?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template