Troubleshooting
WinCC Unified PC Runtime firewall blocks TIA Portal download
Short answer
When a TIA Portal V21 download to a WinCC Unified PC Runtime server works only with the firewall off, the installer's firewall exceptions are missing. Run the Security Controller installed with the runtime and reapply its security settings, then compare the server's inbound rules against the port list in the WinCC Unified readme's Security information section.

On this page
A TIA Portal download to a WinCC Unified PC Runtime server that succeeds only while the server's firewall is off is a firewall rule problem, and the fix is documented in two places. First run Security Controller, the application the SIMATIC WinCC Unified PC Runtime installation installs on the server, and reapply the security settings that setup should have written — the V21 installation documentation says the installer creates the Windows firewall exceptions itself. Second, compare the server's active inbound rules against the port list in the WinCC Unified readme's Security information section; for the communication path your download uses, Siemens' support entry on Unified PC Runtime communication names web port 443. The symptom itself never names a blocked port, so the readme list decides which rule to fix — not a guess.
What the firewall-off comparison proves #
Treat the two attempts as one controlled comparison: same project, same target, same cable, and exactly one variable changed — the firewall state. With it off the download works, with it on it fails, so filtering on the runtime server is the cause; the project, the license and the physical path are not your first suspects. What the test does not give you is the service or the port, because a firewall that drops packets looks from TIA Portal like any other unreachable target.
Before you change anything, record four things:
- the exact error text or timeout TIA Portal shows on the failed attempt
- the server's active firewall profile, domain or private, and both machines' addresses
- the time of the attempt, so firewall log entries can be matched to it
- any blocked-connection entries the firewall logs while the download fails
Keep the firewall enabled for normal operation. The off state is a bench diagnostic only; an operator-facing HMI server with no host filtering is exposed to everything else on the network it sits on.
Reapply the security settings with Security Controller #
Siemens ships the repair with the runtime. Security Controller is installed on the PC alongside SIMATIC WinCC Unified PC Runtime, and its documented restore action rewrites the security and firewall settings that the setup routine applies. The support entry on restoring security settings in TIA Portal (entry 95847886) walks through the Security Controller dialog and its Repeat Settings button, closed with File > Exit.
- On the runtime server, open Security Controller, the application installed with SIMATIC WinCC Unified PC Runtime.
- Run its restore action — the
Repeat Settingsbutton in the documented dialog. - Close it with
File > Exit. - Repeat the download with the firewall still enabled.
- If it still fails, go to the readme comparison below; do not widen any rule yet.
Do this before any manual rule editing. The installer is documented to write the exceptions when a Windows firewall is in use, so a server where the exceptions are missing has lost the applied settings — to an OS update, a policy push or an image restore — and reapplying is the supported way to get them back, scoped exactly as intended. A rule you add by hand before that can duplicate what the restore will write and confuse the next policy refresh.
Match the readme port list to the active rules #
The authoritative list lives in the readme. Siemens' installation documentation points to the WinCC Unified readme set, section Security Information — support entry 109815056 names the SIMATIC Unified PC readme as its home. That section lists the services WinCC Unified uses for internal and external communication and states that these ports must not be used for any other purpose. The V21 installation note prints two of the exceptions the installer writes when a Windows firewall is used — HTTPS 443 and Network Discovery 137 — and the communication entry for Unified PC Runtime (109806850) calls out the web port specifically, because that is the path your download's clients and the runtime's web service share.
Check each documented service against the server's rules for three things, not just the port number: the direction (inbound on the server), the profile that is actually active on that interface, and the scope — a rule bound to the wrong profile or to a different program blocks exactly like a missing rule.
None of these exceptions should reach past the machine cell: an HMI runtime server obeys the same exposure rule set out in why port 20256 must never be reachable from the internet, so keep every rule as narrow as the readme names it.
Worked check: a 192.168.1.60 runtime server missing one rule #
The case is the reported one, with example addresses: a WinCC Unified PC Runtime server at 192.168.1.60 serving a TIA Portal V21 project, the engineering workstation at 192.168.1.20 on the same cell subnet, and the server's cell interface on its private firewall profile. The download completes with the server firewall disabled and fails with it enabled.
Inputs, and where each comes from:
- two documented installer exceptions to check — HTTPS 443 and Network Discovery 137 — from the V21 installation documentation's list of what the setup routine writes when a Windows firewall is used
- the server's active profile, private, read from the server's firewall console (example configuration)
- the rule state, also read from the firewall console during a failed attempt
The rule in words: the download can complete with the firewall enabled only when every service the readme requires for that path has an enabled inbound exception on the server's active profile, and the check is finished when the counted exceptions equal the counted documented ports.
The arithmetic: documented ports to check = 2 (443 and 137). Enabled inbound exceptions found on the private profile = 1, covering the web port. Missing = 2 − 1 = 1.
The result: one installer exception is absent, so the firewall setup the installation should have written did not fully stick on this server.
The decision: any missing count above zero sends you to Security Controller's repeat-settings action first, then to a re-count. Only if the count still reads 1 do you write the missing exception by hand, scoped exactly as the readme scopes that service — port, protocol, direction and profile. If your readme names more services than the two printed here, count against the full list; the notes behind this example document only those two.
Accept the fix with the firewall enabled #
Run the acceptance checks with the firewall on, in this order:
- Repeat the identical download. Expected: the transfer completes without touching the firewall state.
- Read the firewall log during the transfer. Expected: no blocked entries against the runtime's documented services; if a block appears, its logged port, direction and profile point straight at the readme entry that is missing.
- Confirm the firewall is still enabled and the profile unchanged when the transfer ends.
If every rule is verified complete and the transfer still fails, the fault has left the firewall. A download that crosses a VPN fails for routing reasons no local rule fixes, which is its own diagnosis in why TIA Portal cannot reach a WinCC Unified PC Runtime over VPN, and a project pointed at the wrong station fails before any rule matters, which selecting a WinCC Unified PC target in TIA Portal covers.
Habits that keep this fault from coming back #
| Pitfall | Why it bites | Do this instead |
|---|---|---|
| Leaving the firewall off after the diagnostic | it removes host filtering on an operator-facing runtime and hides which service was blocked | re-enable it, reapply with Security Controller, then accept the fix on a completed download |
| Writing one broad allow-all rule | the symptom never names a port, and a broad rule buries the real gap | add only readme-named services, scoped to port, protocol, direction and profile |
| Assuming settings survive an OS change | updates, policy pushes and image restores drop the installer's exceptions | re-count the documented ports after any change to the server's Windows setup |
| Changing several rules at once | you cannot tell which change fixed the transfer | change one rule, rerun the same download, then move to the next |
Questions asked
Does the WinCC Unified PC Runtime installation create the firewall exceptions on its own?
Yes, when a Windows firewall is in use: the V21 installation documentation says the installation routine writes the exceptions itself, with HTTPS 443 and Network Discovery 137 among the ports it lists. If the rules are gone anyway, after an OS update, a policy push or an image restore, the repeat-settings action in Security Controller rewrites them without manual editing.
Can the runtime be moved to a different port so the firewall needs no changes?
No. The readme's Security information section states that the ports WinCC Unified uses for internal and external communication must not be used for any other purpose, and the firewall exceptions are written for those ports. Remapping them is not a supported configuration; the supported repair is restoring the documented exceptions with Security Controller.
Why does the download still fail when the web port is already allowed?
Because the web port is not the only documented entry. Network Discovery 137 is a separate installer exception, and the readme's Security information section can name services beyond the two the installation note prints. Compare direction, profile, enabled state and program scope against the full list: a rule on the wrong profile blocks exactly like a missing one.
Do I need firewall changes on the engineering workstation as well?
Start on the server: the documented exceptions protect the runtime's services, which the workstation connects to for the download, and a Windows workstation permits its own outbound connections by default. If the server's rules are verified complete and the transfer still times out, treat it as a path problem such as routing or VPN instead of adding workstation rules blindly.


