Go ahead and check the box for PID (Process Identifier) and then click OK. By default, the task manager does not display the process ID, so you have to click on View and then Select Columns. Now to see the name of the process that is using that port, go to Task Manager by pressing CTRL + SHIFT + ESC and then click on the Process tab. That’s because one process can be using the same port number on different protocols like TCP, UDP, etc. You’ll also see some ports and some PIDs listed more than once. You’ll see the port number after the colon. You can see the port being used in the second column called Local Address. Press enter and you should see something like this: In the command above, the -o parameter is what will add the PID to the end of the table. In the command window, go ahead and type in the following command: netstat -a -n -o To get started, open the command prompt by clicking on Start and then typing cmd. In this article, I’ll show you one handy usage of the netstat command instead of telling you 10 different commands that will make things confusing. I have never had that happen to me before, but had I not used the netstat command to see which ports were being used by what Windows process, I would have never known I had a virus since it was secretly running in the background. After the virus was gone, everything was back to normal. I Googled the process and it was a virus!! Goodness knows what kind of data it was transferring, but I killed the process, restarted the computer and scanned it using a offline virus scanning tool. I checked it out and saw there was some weird program I had never heard of running on my computer in the background. I restarted the router and that normally fixes any issue, but the Internet would slow down again every time.įinally, I ran the netstat command just for the heck of it and saw one process using up a few TCP ports. For instance, my Internet connection was running really slow and I could not figure out why.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |