kill traffic to port linux code example
Example: kill traffic to port linux
sudo kill $(sudo lsof -t -i:PORTNUMBER)
# for example
sudo kill $(sudo lsof -t -i:80)
sudo kill $(sudo lsof -t -i:PORTNUMBER)
# for example
sudo kill $(sudo lsof -t -i:80)