错误

错误:Portal for ArcGIS:Hosted/<Feature_Service>/FeatureServer:连接尝试失败

Last Published: June 27, 2024

错误消息

在 ArcGIS Enterprise 中,当尝试在 ArcGIS Portal Map Viewer 或 ArcGIS Dashboards 中加载托管要素图层时,会间歇性地返回以下错误消息。

Error:
Hosted/<Feature_Service>/FeatureServer: The connection attempt failed.

在某些情况下,除了之前的错误消息外,托管 ArcGIS Server 日志中也会出现下述错误消息。

Error:
Hosted/<Feature_Service>/FeatureServer: Connection to <Machine_Name>:9876 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

原因

安装在计算机上的防病毒程序会中断 ArcGIS Server 与关系数据存储之间的通信。

解决方案或解决方法

Warning:   
Consult the organization's IT personnel before proceeding with the workarounds.

配置防病毒例外

配置防病毒软件以排除与 ArcGIS 相关的某些进程或目录。 有关说明,请参阅 Microsoft:向 Windows 安全中心添加排除项。 有关其他信息,请下载 PDF 文件:PDF:为 ArcGIS Enterprise 主机配置防病毒软件的注意事项。 排除以下目录:

  • ArcGIS Server 目录:
\arcgisserver\directories\arcgiscache\
\arcgisserver\directories\arcgisjobs\
\arcgisserver\directories\arcgisoutput\
\arcgisserver\directories\arcgissystem\
\arcgisserver\config-store\
  • ArcGIS DataStore 目录:
\arcgisdatastore\pgdata\
\arcgisdatastore\nosqldata\
  • Portal for ArcGIS 目录:
\arcgisportal\temp\
\arcgisportal\dsdata\
\portalforarcgis\content\arcgisportal\db\
\portalforarcgis\content\arcgisportal\index\
Note:
After completing the necessary tasks, reinstate the exempted directories.

禁用或移除防病毒程序

Warning:
Proceed with the following workaround with caution, as disabling or removing the antivirus program potentially exposes the machine to security risks.

禁用或移除 ArcGIS Enterprise 计算机上的防病毒程序。 有关说明,请参阅 Microsoft:在 Windows 安全中心中关闭 Defender 防病毒保护

如果防病毒软件是第三方程序,请暂时将其禁用。

Note:
After completing the necessary tasks, reactivate the antivirus program, as it safeguards the machine from potential security threats. To reactivate Microsoft Defender, refer to Microsoft: Turn on Microsoft Defender Antivirus for instructions. If a third-party antivirus was disabled, reenable it.

文章 ID: 000032646

获得人工智能支持

使用 Esri Support AI Chatbot 快速解决您的问题。

立即开始聊天

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

立即开始聊天

转至下载选项