Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

CRUD operation using table api's

harora
Tera Contributor

I am getting ECONNREFUSED from servicenow CRUD table api's.

I am using a developer instance, and also this issue occurs only in 1 of 100 api calls.

1 REPLY 1

Anand Kumar P
Giga Patron

Hi @harora ,

 

If you are doing  firewall check from you localhost to servicenow, there may be a firewall block and you may need to use a midserver in your rest api to make it work.

 

    • Firewall Restrictions: Sometimes, local firewall settings might block certain ports. Make sure that port 8080 is allowed in your firewall settings.

      • Check if the firewall is blocking the port: sudo ufw status.
      • If port 8080 is not allowed, you can allow it using: sudo ufw allow 8080.

 A failure in database connectivity can sometimes prevent the server from starting.

Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand