添加端口:
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