无法连接到许可服务器。
This article was translated from English: Does it need improvement?
TranslatedView the article in English
在当前版本的IronPdf (2024.10.x) 中,即使有活跃的互联网连接,有些客户可能会遇到以下异常错误:
Exception: IronPdf was unable to establish a connection to the licensing server. A valid internet connection is required for TEAM-type License Keys. In restricted environments, you need to whitelist: https://licensingapimanager.azure-api.net. For projects that require offline air-gapped environments with unlimited developers, projects, and locations, please consider the Unlimited Enterprise License at https://ironpdf.com/licensing/?utm_source=errormsg. For help, please reach out to us at https://ironsoftware.com原因
根本原因是由于IronPdf许可服务器的超时设置。 当连接超时时,内部过程会认为连接已丢失,从而触发上述错误信息。
解决方法
目前,尚无直接的解决方案。 然而,你可以尝试以下临时解决方案:
- 重启项目:简单地重新运行项目可能有助于与许可服务器建立成功连接。
- 检查防火墙和网络限制:确保所需的URL (
https://licensingapimanager.azure-api.net) 已被列入白名单,并未被网络策略或安全软件阻止。
升级到Enterprise License也可以避免此问题,因为该库完全离线运行,不会上传任何信息到云,适用于隔离网络环境。
准备开始了吗?
Nuget 下载 17,012,929 | 版本: 2025.12 刚刚发布






