In Windows (7), You can list all the processes and the port it is running at by:
netstat -ano
To kill a process, replace pid with process id from previous step
taskkill /pid 5844 /F
In Ubuntu, You can find the process running at a port using grep
netsat -ano --program |grep 8080
and
kill porcessNumber
eg.
11814 is process running at port 8080.
No comments:
Post a Comment