Situatie
Solutie
Pasi de urmat
Select the Start menu and type “command.” Right-click on the Command Prompt app and select Run as administrator.
Type netstat -ab and press Enter. You’ll see a long list of results, depending on what’s currently connecting to the network. You’ll see a list of running processes. The open port numbers will be after the last colon on the local IP address (the one on the left).
Look for the items on the list with a state of “LISTENING.” These are the processes that are communicating via one of the currently opened ports.
If you want to know the program’s name that has a specific port open, then type netstat -aon and press Enter. This command will show the protocol the app is using, the local and remote IP addresses, and most importantly, the PID of the application using that port (the number on the far right). Remember to look for the LISTENING status.
To find the application related to that PID, right-click the task manager and select Task Manager. Select the Details tab. Look in the PID field for the PID you noted from the command prompt screen.
Leave A Comment?