Use a command prompt to configure a firewall port exception
- Last UpdatedJul 17, 2024
- 1 minute read
To configure the firewall through the command line, first open the Windows Command Prompt. Then, type the following command:
netsh.exe advfirewall firewall add rule name="<Description>" dir=in action-allow protocol=TCP localport=<PortNumber>
Where:
<Description> = the description used to describe this firewall rule
<PortNumber> = the TCP port to open
For example:
netsh.exe advfirewall firewall add rule name ="Open Port 8080 for InTouch Access Anywhere" dir=in action=allow protocol=TCP localport=8080