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