How to kill all server 5000 mac?

In this article let’s discuss about How to kill all server 5000 mac?. Let’s go through the following methods without any delay.

Method 1:

#First run this, to get port information (with the port you want to kill)
sudo lsof -i :3000 

#Then run this, with  replaced by the value in the column returned by previous command.
kill -9 

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

sudo lsof -i :3000

Hope the above solution works.

Realted Posts : Gatsby starter hello world