search
HomeOperation and MaintenancephpstudyWhat 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?

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!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function