aws security group all port code example
Example 1: kill all process at port
lsof -ti tcp:2525 | xargs kill
Example 2: ubuntu open all port
sudo ufw allow 1:9999/tcp
lsof -ti tcp:2525 | xargs kill
sudo ufw allow 1:9999/tcp