添加端口:
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.项目\58.太平洋保险\预发布环境\太保一体机发布-2服务器迁移\太保一体机发布\03.ihr-service\TechFancier.Console.exe" enable=yes