WebFile connection shows error "Access is denied"
when loading data from a localhost web server running on any port other than 5555.
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.
Qlik Sense June 2018 or later