Access to file previewers fail when Dataverse server (the server with the file to preview) is under http and not under https.
Dataverse code is taking the site url from the SystemConfig.getDataverseSiteUrlStatic method (with the code hostUrl = "https://" + hostName;) and not paying attention to the toolURL parameter in the externaltool table in the database.