tüm sunucu 5000 mac'lerini öldür
#First run this, to get port information (with the port you want to kill)
sudo lsof -i :3000
#Then run this, with <PID> replaced by the value in the column returned by previous command.
kill -9 <PID>
Mac terminali bağlantı noktasına göre bulma işlemi
sudo lsof -i tcp:3000
Mac portunu öldür
sudo lsof -i :3000
Mac portunu öldür
kill -9 <PID>
Mac'te kullanılan tüm bağlantı noktalarını kontrol edin
$ npx kill-port 3000 8080 8081
Process on port 3000 killed
Process on port 8080 killed
Process on port 8081 killed