HOW TO
ArcGIS Server requires specific port ranges to operate. In some instances, one or more of the required ports may be in conflict or in use on a different software. This results in a variety of errors, for example, inaccessible endpoints and loss of critical components. To counter this issue, NETSTAT, a built-in Windows utility can be used as it has the ability to identify port conflicts.
The following links provide the list of ports that ArcGIS Enterprise software uses:
The following steps describe how to identify the available ports before installing ArcGIS Server using the NETSTAT utility.
Note: Checking for port conflicts does not eliminate the possibility that a firewall, antivirus or other security program is not blocking the port.
netstat -ao | findstr "LISTENING" | findstr "4000 4001 4002 4003 6080 6443"
Note: The ports from the sample above are used by ArcGIS GIS Server.Check the printed list. If the searched ports are not listed, the ports are available and nothing is listening to the port. However, if any of the ports is unavailable, it is listed as shown in the following image. The column on the far right shows the Process ID (PID) of the process currently using the port.
If the PID matches the javaw.exe process with the username arcgis, this means the port is currently connected to ArcGIS Server. Otherwise, the process currently connected to the port is identified. The following images are examples showing ports and PIDs connected to ArcGIS Server.
Get help from ArcGIS experts
Download the Esri Support App