Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How can I open a port on a Operating System Firewall ?

Step-by-step guide

Windows:

  1. Click on Start then on Control Panel
  2. Click on Windows Firewall and then click on Advanced Settings.
  3. Right click on Inbound Rules then on New Rule:
  4. Select Port and click on Next: 
  5. Enter a specific local port (e.g. 8080) and click on Next: 
  6. Click on Next: 
  7. 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

Content by Label
showLabelsfalse
max5
spacesCEKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "domibus" and type = "page" and space = "CEKB"
labelsdomibus

...