無法連線至授權伺服器
This article was translated from English: Does it need improvement?
Translated
View 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 授權伺服器的超時設定。 當連線超時時,內部程序會將其視為連線中斷,並觸發上述錯誤訊息。
替代方案
目前尚無直接解決此問題的方法。 不過,您可以嘗試以下臨時解決方案:
- 重新啟動專案:只需重新執行專案,即可協助建立與授權伺服器的成功連線。
- 檢查防火牆與網路限制:請確認所需網址 (
https://licensingapimanager.azure-api.net) 已列入白名單,且未遭網路政策或安全軟體封鎖。
升級至Enterprise授權亦可避免此問題,因該函式庫完全離線運作且不會將任何資訊上傳至雲端,使其適用於氣隙環境。
準備開始了嗎?
Nuget 下載 18,926,724 | 版本: 2026.5 just released

