Answered by : clear-crab-p3ip3vsw14e3
sudo lsof -i :3000
kill -9 <PID>
Source : https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac | Last Update : Thu, 18 Feb 21
Answered by : alberto-peripolli
sudo lsof -i tcp:3000
Source : https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac | Last Update : Wed, 15 Apr 20
Answered by : snippets
npx kill-port 8080
Source : | Last Update : Fri, 05 Mar 21
Answered by : calm-crossbill-xbc1ulxw6sb4
sudo lsof -i :5955
Source : https://stackoverflow.com/questions/12397175/how-do-i-close-an-open-port-from-the-terminal-on-the-mac | Last Update : Sat, 04 Jul 20
Answered by : ubaid-ullah
npx kill-port port_number
e.g,
npx kill-port 5001
Source : | Last Update : Tue, 13 Jul 21
Answered by : awful-anaconda-831ne8qfk9ul
kill -9 $(lsof -ti:3000,3001)
Source : https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac | Last Update : Thu, 03 Feb 22
Answered by : beautiful-barracuda-nhrqdd10o2qy
npx kill-port 3000
Source : | Last Update : Sat, 19 Jun 21
Answered by : bewildered-bat-dlzvnsjx3hk9
//Find Pid
sudo lsof -i :3000
//kill
kill -9 <pid>
Source : https://stackoverflow.com/questions/3855127/find-and-kill-process-locking-port-3000-on-mac | Last Update : Thu, 20 May 21
Answered by : cautious-coyote-6ugk97js4u6e
sudo lsof -i :5955
ex returns:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 6957 someuser 28u IPv6 0x85e555655e4ea0c3 0t0 TCP *:8091 (LISTEN)
sudo kill -9 6957
Source : https://stackoverflow.com/questions/12397175/how-do-i-close-an-open-port-from-the-terminal-on-the-mac | Last Update : Wed, 25 Aug 21
Answered by : ashamed-alpaca-7lgk23a83p2f
sudo lsof -i <Port>
sudo kill -9 <PID>
Source : | Last Update : Mon, 07 Dec 20