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
- Download and install the repair tool here.
- Let it scan your computer.
- 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.
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.
PID numbers (“Process IDs”) are assigned by the operating system each time a new process is started.
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
- Open CMD with administrator rights (run as administrator).
- 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).
- After receiving the PID of the process, we can send a stop signal.
taskkill / PID enter your PID / F here.
- Repeat the same command in step 2 and verify that the result is empty.
- 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
CCNA, Web Developer, PC Troubleshooter
I am a computer enthusiast and a practicing IT Professional. I have years of experience behind me in computer programming, hardware troubleshooting and repair. I specialise in Web Development and Database Design. I also have a CCNA certification for Network Design and Troubleshooting.