Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

"Access is denied" when connecting to localhost with WebFile connection

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

"Access is denied" when connecting to localhost with WebFile connection

Last Update:

Dec 6, 2022 6:54:50 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 8, 2018 3:31:10 AM

WebFile connection shows the error Access is denied when loading data from a localhost web server running on any port other than 5555.

000054581a.png

 

 

Resolution

This is an intentional change since Qlik Sense June 2018 to enhance security. By default, only port 5555 (default port of Qlik Web Connectors) is allowed for local WebFile connectivity.

To allow localhost connections, add one of the following parameters to Settings.ini:

  • To allow all ports (not recommended due to security reasons): WebFilePreventLoopback = 0 
  • To allow custom ports: ?WebFilePreventLoopbackWhitelist=%customPorts% , for example WebFilePreventLoopbackWhitelist=5556-5559,8080


Location of Settings.ini:

  • Qlik Sense Enterprise: C:\ProgramData\Qlik\Sense\Engine. Make sure to take a backup of this file before modification and restart Qlik Sense Engine service after the change.
  • Qlik Sense Desktop: C:\Users\<UserName>\Documents\Qlik\Sense. Close Qlik Sense Desktop before making the change.



Environment: 

Qlik Sense Enterprise on Windows, June 2018 or later

Labels (2)
Version history
Last update:
‎2022-12-06 06:54 AM
Updated by: