netstat (network statistics) is a command-line tool that displays network connections (both incoming and outgoing), routing tables, and a number of network interface statistics. It is available on Unix, Unix-like, and Windows NT-based operating systems.
It is used for finding problems in the network and to determine the amount of traffic on the network as a performance measurement. [wikipedia.com]
Parameters used with netstat command are:
netstat /? Output
In case you want to kill a process without knowing its name and the only information you’ve got is a port number; there’s no need to worry about it. Here are the six simple steps in KILLING A PROCESS BASED ON A SPECIFIC PORT NUMBER.
1. Go to RUN and type cmd
2. Use netstat -aon | find ":port number" command to view a specific network port if it is in use or not.
3. Go to Task Manager (Alt+Ctrl+Del)
4. Select Processes Tab
5. Check PID on view menu
6. Kill the process base on PID
If you want to change a port number, you may edit services file located on C:\WINDOWS\system32\drivers\etc