Troubleshooting
Why TIA Portal V20 Cannot Reach WinCC Unified PC Runtime Over VPN
Short answer
A ping and an open TCP 102 prove only basic reachability. WinCC Unified download uses the HTTPS endpoint on port 443 plus runtime services, certificates and clock agreement, so repair the VM route, the firewall port list and the trust chain before touching the project.
On this page
- Why do ping and an open TCP 102 not prove the download will work?
- What does the download path actually consist of?
- Is your VPN route and VM addressing correct?
- Why does a certificate or clock mismatch block the transfer?
- Does the September 2025 Windows update explain this failure?
- What order should you fix the path in?
- How do you verify the path before the next download attempt?
- Questions asked
The download fails because a WinCC Unified transfer does not use the channel you tested. Ping and an open TCP 102 prove an IP route and one permitted port; the project load runs over HTTPS on port 443 at the runtime's /WebRH endpoint, and it additionally needs the runtime services running, a certificate that covers the name you connect by, and clocks that agree. Since your downloads to the customer's PLC and Unified Comfort Panel already work, the engineering station and the VPN are fundamentally sound. Concentrate on the Windows 11 VM: its route back through the VPN, the Windows firewall port list, the runtime's web services and the trust chain, in that order.
Why do ping and an open TCP 102 not prove the download will work? #
Port 102 serves S7 communication and WinCC Unified project transfer does not run over it, so ping plus an open 102 prove only that a route and one permitted port exist, not that the HTTPS endpoint, the runtime services or the certificate chain are usable. This is the application-layer gap that ping works but PLC program download fails over remote access also comes down to: reachability tests stop at layer 3 and the transfer lives above them.
Read each observation you already have for what it actually proves:
| Observation | What it proves | What stays untested |
|---|---|---|
| The VM answers ping | An ICMP route exists in both directions at test time | Application ports, TLS, certificates, runtime services |
| TCP 102 is open | A listener or permitted path on that one port | The HTTPS transfer channel on port 443 |
| The runtime works locally | The deployed project executes | Remote configuration and deployment services |
| Manual export and import succeed | The project itself is transferable offline | Discovery, authentication, certificate validation |
| PLC and Comfort Panel downloads work | TIA Portal and the VPN support those target paths | VM networking, the VM firewall, PC Runtime services |
What does the download path actually consist of? #
The transfer needs TCP 443 open end to end, the runtime answering at its /WebRH endpoint, the WinCC Unified Configuration service and the runtime's web-hosting components running, and the Windows IIS and .NET features enabled on the VM. The security information page of the installed release's readme lists the ports the HMI transfer services use, and that list, not a habit from S7 networks, is what your firewall rules must permit.
A download crosses five independent boundaries, and the reply must return through every one of them:
- TIA Portal selects one local network interface for the transfer.
- The VPN routes that traffic to the customer network.
- The hypervisor presents the traffic to the VM's adapter.
- The Windows firewall on the VM admits it.
- The Unified configuration components accept the session and answer.
A failure at any boundary leaves ping working while the download refuses, so test them in order instead of rechecking the ones you already proved.
Is your VPN route and VM addressing correct? #
Give the engineering station and the VM different addresses, route the VM's subnet directly through the VPN rather than behind NAT, and make the hostname you enter in TIA Portal resolve to the address that actually reaches the VM. The ES and the runtime target sharing one address is a classic silent failure after a rushed VM clone, so record the ES address, its VPN-assigned address, the VM address, mask and gateway before anything else.
Worked example addressing check: your engineering station holds 10.8.0.6 on the VPN adapter, and the VM holds 192.168.10.20 with mask 255.255.255.0 and gateway 192.168.10.1. Ping succeeds, so the forward route exists. Now confirm the return route: the VM's gateway must send 10.8.0.0/16 traffic back out the adapter the VPN reaches, not a second NIC on a host-only network. Then resolve the runtime hostname from the ES and confirm it returns 192.168.10.20; if it returns a stale or host-only address, fix DNS or the hosts file before the next download attempt.
Prefer a directly routed or bridged path between the VPN and the VM subnet. NAT breaks return routing and certificate identity; if it is unavoidable, use a fixed one-to-one mapping and make the address TIA Portal connects to agree with both the mapping and the certificate. The return-route trap is the same failure shape as when downloading a Vijeo Designer project to a remote HMI over VPN hits NAT, even though the tool is different.
Why does a certificate or clock mismatch block the transfer? #
The HTTPS session carries an identity check: the name you connect by must be covered by the runtime certificate, and the documented guidance requires the engineering station and the runtime to agree on time down to seconds, or the session fails while ping keeps working. Connecting by an IP address that is absent from the certificate fails the check just as a wrong hostname does, only with a less readable error.
Test the endpoint from a browser on the ES: open https://192.168.10.20:443/WebRH. A certificate warning is diagnostic information, not an obstacle to click through; note the presented name and validity period. To install trust, open the WinCC Unified home page, select the "Certificate Authority" field, and install the downloaded root certificate in the browser. If HTTPS then works but TIA Portal still rejects the connection, work the certificate path in Siemens support item 109810490; at that point the routing boundary is cleared and changing VPN routes again is wasted effort.
Clock check, with numbers: the ES reads 14:32:05 UTC and the VM reads 14:45:12 UTC, so the offset is 14:45:12 minus 14:32:05 = 13 min 7 s, or 787 s. That is far beyond seconds-level agreement and can invalidate certificate validity and service authentication while IP traffic continues normally. Point both machines at the same time source and re-check before blaming the project.
Does the September 2025 Windows update explain this failure? #
Only for a fresh installation of WinCC Unified V17 through V20 on Windows 11 or Windows Server 2025 updated with the September 2025 security updates, where the runtime's web components become unreachable; Siemens support item 109955145 covers that case. The repair is to download the fix from that entry and run Unified_Setup_Fix.bat as administrator on the VM.
Do not apply that repair merely because a VPN transfer fails. Confirm the two conditions first: the runtime was freshly installed after those updates, and the web endpoint is unreachable even from the VM itself. An installation that served downloads before the failure does not match the pattern.
What order should you fix the path in? #
Fix the boundaries from the outside in: addressing and routing first, then the firewall port list, then the runtime services, then certificate trust and time, and only then retry the download from the dialog. Each step assumes the previous one passed, so a failure sends you back exactly one step.
- Assign unique addresses to the ES and the VM, and confirm the VM's gateway returns VPN traffic through the intended adapter.
- Resolve the runtime hostname from the ES and confirm it matches the routed VM address.
- Open TCP 443 and request the
/WebRHendpoint from a browser on the ES; if the TCP connection fails, fix the VPN, hypervisor or Windows firewall path before touching TIA Portal. - Permit every port in the release's documented port list for the HMI transfer services in each traversed firewall, scoped to the engineering and runtime networks; a rule for S7 traffic alone is incomplete.
- On the VM, verify the WinCC Unified Configuration service and the web-hosting components are running, and that the required IIS and .NET features are still enabled after any OS maintenance.
- Connect by a name the runtime certificate covers, install the root certificate, and synchronize both clocks.
- Retry from the download dialog with the VPN-capable interface selected and the VM's address as the target, never the ES's own address.
How do you verify the path before the next download attempt? #
Five checks decide it: the two endpoints hold different addresses, the hostname resolves to the routed VM address, the /WebRH endpoint opens in a browser without a trust error, the clocks agree within seconds, and one small test transfer completes through the selected VPN interface. Run all five, not just the last one, because a download that succeeds once over a half-fixed path fails again the next time the VPN re-addresses.
Once the project is on the runtime, remember that its own PLC connection is a separate path with separate failure modes; if the loaded project then cannot reach the controller, the diagnosis in why WinCC Unified PC Runtime fails to open its PLC connection is the next place to look, and port 102 finally becomes relevant there.
Questions asked
Can I keep using manual export and import instead of fixing the download?
It works as a stopgap because the offline transfer skips discovery, authentication and TLS entirely, but you lose remote diagnostics, and every change means someone at the VM importing a file. Fix the HTTPS path and keep the manual route only as the fallback for the next outage.
Will changing the target address from the download dialog help?
No. Review the offered IP configuration before activating any address-changing option: writing a wrong subnet onto a remote VM removes the address your VPN routes to, and you lose access with no one on site to correct it. Set the address on the VM itself, then retry the download against it.
Does using the IP address instead of the hostname avoid the certificate check?
No. If the address is absent from the runtime certificate, the TLS identity check fails just as it does for a wrong hostname, only with a less readable error. Use the hostname the certificate covers, make sure it resolves through the VPN to the VM, and keep the address only for ping and port tests.
Is port 102 useless for this transfer then?
It is not useless, just not on this path. Port 102 carries S7 communication, which is why PLC and Comfort Panel downloads that depend on it succeed while the Unified transfer fails. Keep that firewall rule for those devices and add the HTTPS rule for the runtime.