How to release port 80

less than 1 minute read

Few days ago, I fall in a problem. I could not start apache server by XAMP control panel. There was a message shown port 80 busy. However ultimately, I found the solution this was due to IIS server. IIS Server was running on port 80 at that time.

Here is the step by step procedure, how I release port 80

  1. Go to command prompt.
  2. Check which process is using port 80
    • On the command prompt window, type the following command.
      netstat -o -n -a | findstr 0.0:80
    • You will see the following screen

The last column is process Id column

Open Task Manager to check the process ID

  1. Right click on the taskbar to open the the task manager.
  2. Go to the Processes tab.
  3. Click the View menu
  4. And make sure you select the PID (Process Identifier) as shown in the image below.

Now you can see which process is using which PID and description like the following

Stop the services

  1. Go to Task Manager.
  2. Click the Services tab
  3. Arrange the Services by description or by
  4. For IIS I found Service name as IIS Admin
  5. Right click on it and select Stop Service.