Open Port On Firewall Linux

[Solved] Open Port On Firewall Linux | Shell - Code Explorer | yomemimo.com
Question : open port 80 permanently firewall linux

Answered by : alert-angelfish-royqdfeivcqc

firewall-cmd --permanent --zone=public --add-port=80/tcp

Source : https://blog.christophersmart.com/2014/01/15/add-permanent-rules-to-firewalld/ | Last Update : Fri, 29 Jan 21

Question : open firewall port in linux

Answered by : sachin-verma

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

Source : | Last Update : Sun, 15 Nov 20

Question : open port on firewall linux

Answered by : drab-dugong-wv3hh23ikj9b

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

Source : https://stackoverflow.com/questions/7023052/configure-flask-dev-server-to-be-visible-across-the-network | Last Update : Tue, 28 Jun 22

Answers related to open port on firewall linux

Code Explorer Popular Question For Shell