Your rule should be like that:
<rule name="Redirect with port" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTP_HOST}" pattern="^(.*):8880$" />
</conditions>
<action type="Redirect" url="https://{C:1}:8443/{R:0}" />
</rule>
In this rule you have condition <add input="{HTTP_HOST}" pattern="^(.*):8880$" />
which will accet only http host with port 8880
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…