• notice
  • Congratulations on the launch of the Sought Tech site

Solve the problem that the port is occupied Web server failed to start. Port ×× was already in use

This problem occurs because the port is occupied, just close the port in use


1. Change the port number in the server to a non-conflicting, unoccupied port.2. Find out the occupied port and end the occupied port

Solution to end the occupied port:

1. Enter the command to view the process of the occupied port:

netstat -aon|findstr 80

(80 is the port number to find) The pid here is 3652

2. Find the process that occupies the port according to the PID:

tasklist|findstr 3652

The process name is httpd.exe

3. Use the command to down the process by the name of the process:

taskkill /f /t /im httpd.exe


Technical otaku

Sought technology together

Related Topic


Leave a Reply