Sometimes when we use win11, we find that the port at the bottom of our computer is occupied and cannot be used. In fact, the method to solve this problem is also very simple. We only need to set it up in the running interface.
1. First, we right-click the "Start" menu and click "Run".
2. Then enter "cmd" in the run interface.
3. Then we enter “netstat-ano” and press Enter.
4. We can see that the corresponding pid of port 80 is 32128, and then we enter netstat-ano|findstr 8080 to view the pid of port 8080.
5. Finally, enter taskkill-pid 32128 -f and press Enter to solve the problem.
The above is the detailed content of The win1180 port has been occupied. For more information, please follow other related articles on the PHP Chinese website!