kill something running on port ubuntu code example Example: kill port ubuntu sudo kill -9 `sudo lsof -t -i:9001`