ERROR

"Failed to register ArcGIS Monitor database"

Last Published: April 22, 2025

Error Message

When setting up ArcGIS Monitor and going through the step to connect Monitor Server to the database repository by running the below command:

<Monitor Server installation location>\bin\arcgis-monitor-server.exe admin:database:register --address <database address:port> --database <database name> --username <database username> --password <database password> --encrypt <true|false> . 

The following error is returned:

Error: "Failed to register ArcGIS Monitor database".
Connect econnrefused 127.0.01: 5432

Cause

There are two possible causes:

  • Port 5432 is not open and outbound - inbound communication cannot be reached.
  • PostgreSQL is not started on Services.

Solution or Workaround

  • Request that your IT team open port 5432.
  • Make sure to start PostgreSQL on Services.

Article ID: 000034628

Software:
  • ArcGIS Monitor Server

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options