How to Find and Kill Process on a Port in Windows 10

Last Updated on November 25, 2020



Updated June 2022: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Ports are used by applications to send and receive data to and from their servers. Each application uses a specific set of ports for communication. These ports are opened automatically or manually when the application is installed. This article explains methods to remove a process bound to a port. Since all applications use a specific port, we can tell the operating system to kill the process using a specific port.

Applications communicating on a specific port can simply be terminated by prompting the computer to do so. However, this process differs from one operating system to another and requires administrator rights. Also make sure that no other application is using the port. Here’s a way to end the process by port number. Since the methods differ depending on the operating systems, we have listed some of the more popular methods.

Process:

A process is essentially a copy of a program. So if you run a program like Notepad multiple times, each specific hour gets its own process. The process uses resources such as RAM available on your computer. If you look at the task manager and see that the program starts up multiple times, each separate appearance of the program can be a separate process.

Process ID:

PID numbers (“Process IDs”) are assigned by the operating system each time a new process is started.

Port number:

The port number is a way to identify a specific process to which the Internet or other network message should be forwarded when it arrives at the server. The port number is the logical address of each application or process that is used to identify the sender and receiver processes of messages.

How to kill a process running on specific ports by port number

  1. Open CMD with administrator rights (run as administrator).
  2. Find the process that is using the required port. Use the following command to determine which processes are running on port 8080:

netstat -ano | findstr: 8080

You will see the following output:

The last four-digit field is the process identifier (PID).

  1. After receiving the PID of the process, we can send a stop signal.

taskkill / PID enter your PID / F here.

  1. Repeat the same command in step 2 and verify that the result is empty.
  2. Repeat the same steps for other ports 8005 and 8009.


Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here