How to check if port 80 is in use on Windows?

To check if port 80 is being used on Windows, you can follow these steps:

  1. Open the Command Prompt. Search for “Command Prompt” in the Start menu, then click to open.
  2. Type in the following command and press Enter:
netstat -ano | findstr :80
  1. After executing the command, all connections established on port 80 will be displayed. If port 80 is already in use, you will see a connection with the local address as “0.0.0.0:80”.
  2. In the last column on the connection line, you can find the PID (Process ID) associated with the 80 port.
  3. Open the Task Manager by pressing Ctrl + Shift + Esc on the keyboard, or by right-clicking on the taskbar and selecting “Task Manager.”
  4. Switch to the “Processes” tab and locate the process corresponding to the PID. The PID can be found in the output of the previous command.
  5. To terminate the process, select it in the Task Manager and click the “End Task” button.

This way, you can check if port 80 is being used on Windows and terminate the process that is using that port (if needed).

bannerAds