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 :: bash echo to stderr 
Shell :: wsl windows 
Shell :: ubuntu list latest installed packages 
Shell :: install github desktop ubuntu 
Shell :: windows check sum 
Shell :: install stacer ubuntu or linux 
Shell :: powershell check iso sha256sum 
Shell :: could not open file "postmaster.pid": No such file or directory 
Shell :: fish shell add to path 
Shell :: php runing using aphp.ini 
Shell :: bash curl weather report 
Shell :: how to turn off bluetooth in ubuntu 18.04 terminal 
Shell :: create a virtual environment python conda 
Shell :: node-gyp error on windows 10 
Shell :: Failed to fetch platform cordova-android@^8.0.0 
Shell :: ubunutu stats top menu bar 
Shell :: install github linux 
Shell :: how to install yum on mac 
Shell :: Could not install packages due to an EnvironmentError: [WinError 32] The process cannot access the file because it is being used by another process 
Shell :: ng g c --skipTests true 
Shell :: uninstall tensorflow colab 
Shell :: docker iniciar contenedor automáticamente 
Shell :: ansible ignore tag 
Shell :: bash how to list all variables 
Shell :: ubuntu echo create file 
Shell :: listen all local open ports 
Shell :: Kali linux Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? virtualbox 
Shell :: convert all files to lowercase using shell script 
Shell :: git copy branch to another branch 
Shell :: ls in hdfs 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =