Quantcast
Channel: W3LC - World Wide Web Learners Consortium
Viewing all articles
Browse latest Browse all 108

find what uses a port like 8080 kill the process on mac

$
0
0
Many a times during debugging, you find that your port is already used. You can find at this point where it is used and kill the process.


Step 1: Find all processes using port
$ netstat -vanp tcp | grep 8080


Step 2: Kill the task
eg: $ sudo kill -9 73804


Refer screen shot below:



cheers :)




Viewing all articles
Browse latest Browse all 108

Trending Articles