IMDTouchKnowledge BaseShop main store

Troubleshooting

Why the browser shows the IIS page instead of your HMI runtime

HMI and touchscreens Published 6 min read

Short answer

A bare hostname makes the browser request HTTP, and the IIS web server on the runtime PC answers with its own default page; the WinCC Unified PC runtime serves browsers only over HTTPS. Type the scheme explicitly — https://localhost on the runtime PC, or https:// followed by the computer name from any workstation — and expect a certificate warning on the first connect.

On this page
  1. Why a bare hostname lands on the IIS page
  2. Worked example: one computer name, two destinations
  3. The checks, in order
  4. The certificate warning is progress, not failure
  5. If HTTPS still returns the IIS page
  6. Retest, then fix the saved shortcuts
  7. Questions asked

The address is the fault, not the project. When you type a bare hostname — localhost or the runtime PC's computer name with no scheme in front — the browser sends the request as HTTP, and on a WinCC Unified PC runtime the service that answers HTTP is IIS, the Windows web-server role whose start page then fills the tab. The HMI runtime publishes its web client over HTTPS, so it never sees that request. The pattern reported on a first commissioning with TIA Portal V16 Update 2 is typical: the project transferred, SIMATIC Runtime Manager showed the application running, and typing localhost still brought up the IIS page. The correction is to type the scheme explicitly: https://localhost on the runtime PC, or https:// followed by the computer name from any workstation. Expect a certificate warning at the first HTTPS connection — it means the right endpoint finally answered.

Why a bare hostname lands on the IIS page #

HTTP and HTTPS are separate connection schemes with separate listeners: plain HTTP answers on TCP port 80 by default, HTTPS on TCP port 443. An entry with no scheme makes the browser assume HTTP, so localhost becomes a request to the HTTP listener. On the runtime PC that listener belongs to IIS, which also hosts the runtime's web components — which is why the web client can be aliased in IIS to a custom path. The IIS start page therefore proves browser-to-server reachability and nothing more. Two facts can be true at once: the application is running in SIMATIC Runtime Manager and the browser is showing the IIS page, because the two results live on different listeners.

The deciding difference is the scheme in the address, so changing the computer name while leaving the scheme off tests nothing. In the reported case, both the bare computer name and bare localhost produced the unwanted page; adding the explicit scheme resolved the access problem.

Worked example: one computer name, two destinations #

Take a runtime PC named LINE1-PC01 — an example name; substitute your PC's actual name. The expansion a browser performs on a bare entry is scheme plus name plus default port, and that expansion alone decides which service answers:

Entry in the address bar Browser requests Listener that answers What you see
LINE1-PC01 http://LINE1-PC01:80 IIS default site The IIS start page
localhost, on the runtime PC http://localhost:80 IIS default site The IIS start page
https://localhost https://localhost:443 The runtime's web components HMI page after certificate handling
https://LINE1-PC01 https://LINE1-PC01:443 The runtime's web components HMI page after certificate handling

Both bare entries and both HTTPS entries reach the same machine. Only the scheme and the port behind it decide whether the web server's own page or the HMI runtime answers, which is why the reported fix was nothing more than the prefix.

The checks, in order #

  1. Read the complete address. Click in the address bar and select all, because browsers hide the scheme of a displayed page. If it does not begin with https://, the request is going to the HTTP listener, and that alone is the fault.
  2. On the runtime PC, open a fresh browser tab and enter https://localhost. If an HMI page or a certificate warning replaces the IIS page, the endpoint is confirmed.
  3. From a workstation, enter https:// followed by the runtime PC's computer name. If this fails while the local address worked, resolve the computer name from the workstation and compare the address it returns with the runtime PC's configured IPv4 address; correct the DNS entry or hosts file before touching the project.
  4. Classify what comes back: an HMI screen means done; a certificate warning means the TLS endpoint answered, so go to certificate handling; the IIS page again under an explicit HTTPS address means the wrong web site owns the HTTPS listener; a timeout or refusal means a stopped service or network filtering.
  5. Confirm in SIMATIC Runtime Manager that the intended application is running. A stopped runtime also blocks access, but a running one never by itself proves the browser used the right scheme.

The certificate warning is progress, not failure #

A first HTTPS connection to a WinCC Unified PC runtime showing a page that reads 'Your connection is not private' is documented behavior: the browser reached the TLS endpoint and does not yet trust the certificate the runtime presented. That is a different result from an IIS landing page or a connection failure, and it needs three checks: trust, meaning whether the certificate is in the workstation's trusted store; validity dates; and name match between the requested address and the names the certificate carries. A certificate generated for the computer name will not validate for localhost, so use the address form whose name the certificate carries, or generate the runtime's web-server certificate through TIA Portal and deploy it to the client trust stores.

If the browser offers a proceed-anyway option, using it once on a commissioning bench confirms the endpoint; if site policy blocks that, deploying trust is an IT task, not a runtime fault. Do not disable certificate validation browser-wide on a machine that also reaches the plant network — fix the trust instead. The same correction, step by step, is in the guide on fixing the WinCC Unified HTTP page display in an HTTPS browser.

If HTTPS still returns the IIS page #

An explicit HTTPS address that still serves the IIS page means the secure request is reaching IIS's own content, so the question is which web site holds the HTTPS binding, not whether the project is broken. Every binding pairs a protocol with a port and a host name; if another site holds the HTTPS port for the name you requested, the runtime's endpoint never answers. Inspect the bindings and correct which site owns that port before changing anything else, and do not delete the default web site or reinstall TIA Portal because a bare address displayed IIS. If the root HTTPS address opens something unexpected, request the documented default web client path explicitly: the web client is reachable at https://<computername>/WebRH, and on a customized installation the components may have been aliased to a different path.

Retest, then fix the saved shortcuts #

Retest with a fresh tab and the explicit HTTPS address, and confirm the HMI screen loads and its values update. Then correct every saved path to the runtime: favorites, desktop shortcuts and startup links that store the bare hostname reproduce this fault on the next shift, so save the complete HTTPS address once it opens. A panel that starts a browser favorite at boot fails the same way when the saved destination is wrong — see why an HMI boots to a black screen instead of its browser favorite.

Once the runtime page opens in a browser on a touchscreen computer, the next common trap is touch input in text fields, covered in why a browser virtual keyboard fails in web HMI fields. And opening the runtime from additional workstations is web-client access with its own configuration and licensing, set out in what publishing HMI runtime screens to web clients requires.

Questions asked

Does the same HTTPS rule apply to a Unified Comfort Panel?

Yes. A Unified Comfort Panel serves its runtime to browsers over HTTPS in the same way, and the panel documentation says to use the panel's IP address in the request, with the HTTPS scheme typed in front of that address. A bare IP again travels as HTTP, so on a panel too, type the scheme explicitly and expect a first-connection certificate warning.

Is clicking through the certificate warning safe?

The warning means the browser reached the runtime's TLS endpoint and does not yet trust its certificate. On an isolated commissioning bench, proceeding once to confirm the endpoint is a reasonable diagnostic. On a machine that also reaches the plant network, have the certificate deployed through the approved administrative process instead, and do not disable certificate validation in the browser.

Why does the localhost address warn when the computer-name address does not?

A TLS certificate carries permitted names, and the client requires the requested name to be one of them. A certificate generated for the runtime PC carries its computer name, not the loopback name, so a localhost request raises a name warning even though the same endpoint answers. Use the address form whose name the certificate carries.

Can several workstations open the same PC runtime at once?

Yes, but browser access to a WinCC Unified runtime is web-client access, and the documentation ties it to a license that depends on the HMI device used and on the number and type of accesses. Verify the web-client licensing on the runtime PC before handing the HTTPS address to a second workstation.

Should I enter the IP address of the runtime PC instead of its name?

On a PC runtime, prefer the computer name. The web-server certificate is issued for a name, so a request addressed to the IP address raises a name-mismatch warning on top of the trust warning, and a request that carries no host name can land on whichever site holds the default binding. The documented IP-address form applies to Unified Comfort Panels, where the address is the panel's IP.

Keep reading

  • Explainer

    Where JavaScript and WebAssembly Actually Run on an HMI

    JavaScript and WebAssembly execute in the HMI client's browser engine — the panel itself, a panel PC, or a desktop browser — never inside the PLC, which only serves the files and exposes data through a documented interface. Decide on the rendering route the installed runtime provides, then verify rendering, module execution, and the data path in that order.

    HMI and touchscreens

  • Comparison

    Choosing Free Modbus HMI Software for a Windows Panel PC

    For a Windows panel PC that must show Modbus TCP data and alarms, Ignition Maker Edition and VTScada Lite are the only candidates with a free tier and a specific Modbus TCP claim on record. Maker Edition is documented free for non-commercial use only, so production machines bench-test VTScada Lite first or fall back to code-based AdvancedHMI.

    HMI and touchscreens

  • Troubleshooting

    WinCC runtime stays open after project deactivation on shutdown

    Deactivating a WinCC project stops runtime but does not close the SIMATIC WinCC RT and SIMATIC WINCC PROJECT windows that autostart opened, so Windows shutdown finds running applications and asks you to force them closed. Prove the close sequence by hand once — stop the project, then exit the remaining application — and configure the exit button to run both steps, in that order, per your installed release.

    HMI and touchscreens