how to stop port number 9001 code example
Example 1: kill port ubuntu
sudo kill -9 `sudo lsof -t -i:3002`
Example 2: find process id of port ubuntu
$ sudo netstat -ltnp | grep -w ':80'
sudo kill -9 `sudo lsof -t -i:3002`
$ sudo netstat -ltnp | grep -w ':80'