Shell/Bash: ubuntu open port Example


Shell/Bash Example: This is the "ubuntu open port" Example. compiled from many sources on the internet by

ubuntu open port

sudo ufw allow 1191/tcp

see what is using a port ubuntu

$ sudo lsof -i:22

open firewall port in linux

Debian: sudo ufw allow PORT. CentOS: sudo firewall-cmd --zone=public --permanent --add-port=PORT/tcp sudo firewall-cmd --reload

ubuntu open all port

sudo ufw allow 1:9999/tcp

* Summary: This "ubuntu open port" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!