Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

open port on firewall linux

sudo ufw enable
sudo ufw allow 5000/tcp //allow the server to handle the request on port 5000
Comment

PREVIOUS NEXT
Code Example
Shell :: adding images to readme github 
Shell :: ubuntu server lamp installation 
Shell :: check branches git 
Shell :: disable iptables debian 
Shell :: sh vs bash 
Shell :: install lutris ubuntu 
Shell :: git check if stash exists 
Shell :: git change branch 
Shell :: windows features windows subsystem for linux not 
Shell :: install docker compose ubuntu 
Shell :: oh my zsh ubuntu 20.04 
Shell :: add user via drush drupal 8 
Shell :: linux strip foldder name from path 
Shell :: how to install kivy.app 
Shell :: kill x server 
Shell :: générer clef ssh 
Shell :: linux delete files older than 
Shell :: web 3 react npm 
Shell :: wordpress mit ssh installieren 
Shell :: php enable extension lphp.ini 
Shell :: git create a new branch from current branch 
Shell :: install kazam screencaster ubuntu 
Shell :: extend recording time in ubuntu 
Shell :: install mongo ubuntu 20.04 
Shell :: docker system prune 
Shell :: create a git repository from local machine and push it online 
Shell :: print hello world in shell script 
Shell :: how to go back to last git commit 
Shell :: set email and name which gets baked into the every git commit in the local config file found in ./.git/config 
Shell :: rpm extract 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =