命令行添加防火墙入站规则
添加端口:
netsh advfirewall firewall add rule name= "TaiBaoIHRService" dir=in action=allow protocol=TCP localport=8088
添加应用程序:
netsh advfirewall firewall add rule name="TaiBaoIHRService" dir=in action=allow program="H:\02.项目\TechFancier.Console.exe" enable=yes