ERROR
An error similar to the following is returned when printing a document from a web service hosted on an external network:
Error: "Error executing tool.: Layer "layername": Unable to connect to map server at http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task)."
The following are possible causes for the error:
The following are suggestions to identify the cause of the issue:
Note: The command line lists open and connected ports. Ports listening for incoming connections are listed as LISTENING and ports with established connections are listed as ESTABLISHED. The following document describes this in detail, ArcGIS for Server: Ports used by ArcGIS Server.
Note: If ArcGIS Online hosts map services on an external network, the external URL, for example: http://services.arcgisonline.com/ArcGIS/rest/services, must be added to the serverUrls string in the proxy.config file. This allows requests to be forwarded to the appropriate destination. The following blog post explains this in further detail, Support Services Blog: Setting up a Proxy.
Get help from ArcGIS experts
Download the Esri Support App