windows防火墙开放某个端口的配置方法

在防火墙的 高级设置中 选 入站规则  新建规则

image

 

image

 以开放 tcp的 5011 端口为例

image

 

image

 

image

 配置完,点属性检查一下

image