/
Web Viewer very slow when running on Localhost

Web Viewer very slow when running on Localhost

Problem

When connecting to Web Viewer that is installed at localhost, Web Viewer loads very slowly (can take 10-15 seconds per page) and each request takes a lot of time.

Solution

  1. First try to connect using 127.0.0.1 in stead of localhost (e.g. http://127.0.0.1/AssertWeb/...). This should improve the performance significantly.

  2. If step 1 improved performance significantly, please open the following file: C:\Windows\System32\drivers\etc\hosts in a text editor

  3. Add (or uncomment) the following line to the hosts file:
    127.0.0.1       localhost

  4. Save the file

Background

Localhost is normally without delay resolved to 127.0.0.1 (ipv4) or ::1 (ipv6). If you have both ipv4 and ipv6 enabled, the resolution of localhost may be slowed down. The entry in the hosts file will ensure an immediate resolution again.

Related articles



Related content

Web Viewer down - VS Just-In-Time Debugger error dialogue on server Remote desktop
Web Viewer down - VS Just-In-Time Debugger error dialogue on server Remote desktop
More like this
Web Viewer gradually slower and eventually resets it self
Web Viewer gradually slower and eventually resets it self
More like this
Technical instruction - Add http response header on IIS
Technical instruction - Add http response header on IIS
More like this
SAML2 when debugging the WebViewer
SAML2 when debugging the WebViewer
More like this
Installation update
Installation update
More like this
Technical documentation - Basic server setup in settings.config version 5.2 and earlier
Technical documentation - Basic server setup in settings.config version 5.2 and earlier
More like this