


When running PHPstudy, it prompts that port 80 is occupied and the program cannot run.
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";
2. Enter cmd In the interface, enter "netstat -ano" and press the Enter key;
will display information such as the port and program ID occupied by the program in the current computer;
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.
If you don’t see the PID, you need to set up the manager: "View"->"Select Column"->Check "PID" options.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver CS6
Visual web development tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function
