-->

English Soccer News gives you the latest news about soccer match in Europe and UK. Enjoy!

menggunakan cmd untuk melihat port pada pc

Fastest way of killing a process running on a specific port :-
Most Internet connections are based on the TCP/IP protocol. This protocol provides a list of port numbers that are used for different services. When an application communicates over a certain port, it expects a specific type of connection with another system or application. Specifying port numbers ensure two systems communicate correctly.
The port number is a 16 bit binary number in the TCP. Therefore the port number is in the range of 0-65535.The port numbers are divided into three ranges.
  • Well Known ports.
  • Registered Ports.
  • Dynamic Ports/Ephemeral ports
if you want to know the where the Port number file is specified in Windows then navigate to C:\Windows\System32\drivers\etc now open the Service file with notepad. You will see the Port number of all protocols.
If your computer is affected with Malware, then in this condition malware is always trying to open a port to communicate with the server. You can easily close these open ports with these two methods.
1. With the Command Prompt :-
Click on the Start > Type cmd and Run As administrator.
Now enter the command C:\> netstat -a -o -n
it will show you all the listening and open ports.
Now you can easily close the Open connections state with the command
C:\> taskkill /F /PID <pid>
Like in my case i want to close the connection running on the PID 2792, so my command will be C:\> taskkill /F /PID 2792
Method 2 :- Use the Currports Utility ( Download Now )
CurrPorts is network monitoring software that displays the list of all currently opened TCP/IP and UDP ports on your local computer. For each port in the list, information about the process that opened the port is also displayed, including the process name, full path of the process, version information of the process (product name, file description, and so on), the time that the process was created, and the user that created it.
Now navigate to File > here you have the option to ” Close Selected TCP connections” and ” Kill Process of Selected Ports” . To close a Port or TCP connection, You must be run Currports tool as a Administrator.

0 Comment: