how to stop running port code example
Example 1: how to stop port 8080
netstat -ano | findstr <Port Number>
Example 2: stop port
kill -9 $(sudo lsof -t -i:'portName')
//Ex. if portname is 3000
//then we will execute "kill -9 $(sudo lsof -t -i:3000)"