allow socket ubuntu open ports code example
Example 1: ufw allow port
sudo ufw allow http
sudo ufw allow 80
Example 2: debian kill open port
fuser -k 3000/tcp //will kill that process.
sudo ufw allow http
sudo ufw allow 80
fuser -k 3000/tcp //will kill that process.