Home > Operation and Maintenance > phpstudy > phpstudy v8 keeps 'showing that the port is occupied and is trying to close' solution

phpstudy v8 keeps 'showing that the port is occupied and is trying to close' solution

Guanhui
Release: 2020-05-14 13:33:24
Original
5466 people have browsed it

PHPStudy V8 starts the service by default on port 80, but when port 80 is occupied (generally, port 80 will be occupied by the Windows IIS service) PHPStudy will automatically kill the process occupying the port, and then start the service again. If it is killed If the dead process fails, it will always display "Display port is occupied and trying to close" as shown in the figure below.

phpstudy v8 keeps showing that the port is occupied and is trying to close solution

So how to solve this problem?

This problem can be solved by modifying the default port number. Here is a step-by-step guide on how to solve this problem.

First start PHPStudy and click [Website] on the left column to enter the website management interface. You can see in the picture below that the port column is all port 80.

phpstudy v8 keeps showing that the port is occupied and is trying to close solution

Then just click the [Modify] button under [Management] on the right to pop up the website editing interface.

phpstudy v8 keeps showing that the port is occupied and is trying to close solution

Finally find the port column and change it to 8080.

phpstudy v8 keeps showing that the port is occupied and is trying to close solution

Note: All website ports must be set to 8080, otherwise the service will still not be opened.

Finally, just start the service again. If it still shows that the port is occupied, please modify the port number again (the port number cannot be the same as the one that has been modified).

Related recommendations: "Solution to the problem that phpstudy port 80 is occupied by system under Win7 system"

The above is the detailed content of phpstudy v8 keeps 'showing that the port is occupied and is trying to close' solution. 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