How can I open a port on a Operating System Firewall ?
Step-by-step guide
Windows:
- Click on Start then on Control Panel
- Click on Windows Firewall and then click on Advanced Settings.
- Right click on Inbound Rules then on New Rule:
- Select Port and click on Next:
- Enter a specific local port (e.g. 8080) and click on Next:
- Click on Next:
- Name the rule and click on Finish:
Linux:
These commands to open port 8080 need to be executed as root or sudo su:
#open port in firewall firewall-cmd --zone=public --add-port=8080/tcp --permanent firewall-cmd --reload #check if the firewall port iptables-save | grep 8080 |
Info |
---|
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...