Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Getting error when I tried to retrieve incident detail using GET Api

SahilKumarD
Tera Contributor

Hi,

I'm getting an error when I tried to get incident details using GET Api. Can anyone help with this?Screenshot 2024-12-06 123813.png

Error: connect ECONNREFUSED 148.139.125.118:443

 
Thanks,
Sahil Desai

2 REPLIES 2

Anand Kumar P
Tera Patron

Hi @SahilKumarD ,

 

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.



https://support.postman.com/hc/en-us/articles/6920078647063-I-receive-an-ECONNREFUSED-error

 

 

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

harora
Tera Contributor

I am also getting this error 

Please refer: https://www.servicenow.com/community/developer-forum/crud-operation-using-table-api-s/m-p/3121576#M1...

This is link to my issue .

If you get any solution please reply.