Getting error when I tried to retrieve incident detail using GET Api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2024 11:11 PM
Hi,
I'm getting an error when I tried to get incident details using GET Api. Can anyone help with this?
Error: connect ECONNREFUSED 148.139.125.118:443
Thanks,
Sahil Desai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024 06:09 AM - edited 12-06-2024 06:15 AM
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
.
- Check if the firewall is blocking the port:
-
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2024 05:26 AM
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.