PROBLEM

Unable to publish a web map to the ArcGIS Enterprise portal with an error

Last Published: August 14, 2025

Description

When attempting to publish a web map from ArcGIS Pro to the ArcGIS Enterprise portal, the process fails to complete, and the following error message is returned:

Error:
Connection Error: Cannot connect to the server
The error message

Cause

The Service and Administration URL do not match the server's Web Adaptor and port URL.

Solution or Workaround

Update the Service and Administration URL in the ArcGIS Portal Directory REST API.

  1. Navigate to the ArcGIS Portal Directory REST API and log in as an administrator.
  2. In Org ID, click the organization ID link and scroll down. In Child Resources, click Servers.
The organization ID link in Org ID
  1. Select the affected server from the list and click Update Server.
The server list
  1. In the Update Server pane, fill in the following values:
    1. For Name, specify the domain name.
    2. For URL, specify the Service URL of the server.
https://<domain-name>/<webadaptor-name>
    1. For Is Hosted, select True.
    2. For Server Type, specify ArcGIS.
    3. For Admin URL, specify the Server Admin URL.
https://<domain-name>:6443/arcgis
    1. Click Update.
    2. Return to the ArcGIS Enterprise portal home.
    3. Navigate to Organization > Settings > Servers, and click Validate server sites.
The Validate server sites button

Article ID: 000037175

Software:
  • ArcGIS Pro
  • Portal for ArcGIS
  • ArcGIS Enterprise

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options