netsh advfirewall - port still closed

I have forwarded the port 11100 from my routers setup but it was still showing as closed. This was supposed to be because firewall blocked it. So I tried adding an inbound rule but the MMC crashed and continues to do so. As a workaround I used the cmd's function netsh and added rules as follows:

Rule Name:                            riskofrain
----------------------------------------------------------------------
Enabled:                              Yes
Direction:                            In
Profiles:                             Domain,Private,Public
Grouping:
LocalIP:                              Any
RemoteIP:                             Any
Protocol:                             UDP
LocalPort:                            11100
RemotePort:                           Any
Edge traversal:                       No
Action:                               Allow

Rule Name:                            riskofrain
----------------------------------------------------------------------
Enabled:                              Yes
Direction:                            In
Profiles:                             Domain,Private,Public
Grouping:
LocalIP:                              Any
RemoteIP:                             Any
Protocol:                             TCP
LocalPort:                            11100
RemotePort:                           Any
Edge traversal:                       No
Action:                               Allow
Ok.

netsh advfirewall firewall>

Why is the port still showing as closed when I test it (or try hosting a server)?


  • Edited by ibatah 19 hours 16 minutes ago
March 31st, 2015 8:24am

Hi,

Are you able to go directly in control panel\Windows Firewall\Advanced settings to check or configure the rule?

The output shows that the port is allowed for the connection, while to test whether it's Windows Firewall that block the port, I recommend you temporarily turn off the firewall, then check if issue persists. We should eliminate other third party\anti-virus program which might block the port.

Regards

Free Windows Admin Tool Kit Click here and download it now
April 1st, 2015 3:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics